Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 208.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 46.98 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002878/0.002878, allocations: 63.91 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3182, allocations: 66.04 MB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005024/0.3233, allocations: 2.649 MB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3253, allocations: 0.7673 MB / 0.5639 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.3257, allocations: 15.88 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.3261, allocations: 67.31 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.3265, allocations: 122.9 kB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.327, allocations: 123.8 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.3277, allocations: 450.3 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.328, allocations: 128.6 kB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.3284, allocations: 183.3 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.3288, allocations: 167.2 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.3289, allocations: 32 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.329, allocations: 40 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3291, allocations: 91.62 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.3294, allocations: 171.2 kB / 0.5654 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006981/0.3301, allocations: 458 kB / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3301, allocations: 0 / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3301, allocations: 0 / 0.5659 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.3301, allocations: 7.938 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001326/0.3314, allocations: 0.6105 MB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3315, allocations: 12.03 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.3316, allocations: 74.72 kB / 0.5666 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.3319, allocations: 80.61 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.3324, allocations: 241.6 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3324, allocations: 29.38 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.3325, allocations: 44.36 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.3333, allocations: 385.2 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3333, allocations: 3.953 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.3333, allocations: 16 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3333, allocations: 11.98 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.3339, allocations: 247.8 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.3357, allocations: 0.977 MB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.3363, allocations: 323.5 kB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.3367, allocations: 158.4 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3367, allocations: 4 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.3367, allocations: 42.5 kB / 0.569 GB, free: 11.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.3367, allocations: 7.938 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004158/0.3409, allocations: 2.008 MB / 0.571 GB, free: 9.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.341, allocations: 114.8 kB / 0.5711 GB, free: 8.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3412, allocations: 245.9 kB / 0.5714 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3413, allocations: 33.64 kB / 0.5714 GB, free: 8.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3414, allocations: 184.9 kB / 0.5716 GB, free: 8.445 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3416, allocations: 218.2 kB / 0.5718 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.3417, allocations: 86.34 kB / 0.5719 GB, free: 8.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3419, allocations: 350.7 kB / 0.5722 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.3422, allocations: 129.2 kB / 0.5723 GB, free: 7.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.3426, allocations: 228.7 kB / 0.5725 GB, free: 7.402 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.3433, allocations: 402 kB / 0.5729 GB, free: 6.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3433, allocations: 4 kB / 0.5729 GB, free: 6.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001127/0.3445, allocations: 0.5501 MB / 0.5735 GB, free: 6.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3445, allocations: 4 kB / 0.5735 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3445, allocations: 8.094 kB / 0.5735 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.3449, allocations: 126.4 kB / 0.5736 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.3453, allocations: 91.89 kB / 0.5737 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005026/0.3503, allocations: 4.88 MB / 0.5784 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3505, allocations: 19.98 kB / 0.5785 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.3506, allocations: 20 kB / 0.5785 GB, free: 0.9102 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.3508, allocations: 165.9 kB / 0.5786 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3509, allocations: 39.77 kB / 0.5787 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3511, allocations: 46.11 kB / 0.5787 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.3511, allocations: 8 kB / 0.5787 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.3511, allocations: 11.88 kB / 0.5787 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3511, allocations: 7.969 kB / 0.5787 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.3535, allocations: 1.239 MB / 0.58 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3535, allocations: 4 kB / 0.58 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.354, allocations: 91.89 kB / 0.58 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/0.3543, allocations: 106.5 kB / 0.5801 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3543, allocations: 15.98 kB / 0.5802 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/0.3583, allocations: 4.091 MB / 0.5842 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.3583, allocations: 11.95 kB / 0.5842 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.3605, allocations: 0.9142 MB / 0.5851 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3606, allocations: 31.77 kB / 0.5851 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.3607, allocations: 24 kB / 0.5851 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.3612, allocations: 19.98 kB / 0.5851 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3613, allocations: 47.84 kB / 0.5852 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.3614, allocations: 16 kB / 0.5852 GB, free: 9.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.3616, allocations: 177.2 kB / 0.5854 GB, free: 9.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3616, allocations: 0 / 0.5854 GB, free: 9.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001204/0.3628, allocations: 120 kB / 0.5855 GB, free: 9.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002658/0.3655, allocations: 1.467 MB / 0.5869 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.3675, allocations: 0.7647 MB / 0.5877 GB, free: 6.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.3675, allocations: 4 kB / 0.5877 GB, free: 6.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.3688, allocations: 0.5585 MB / 0.5882 GB, free: 6.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3701, allocations: 68.33 kB / 0.5883 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/0.3797, allocations: 4.182 MB / 0.5924 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.3802, allocations: 224.9 kB / 0.5926 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.3804, allocations: 27.28 kB / 0.5926 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3807, allocations: 135.4 kB / 0.5927 GB, free: 1.523 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3807, allocations: 4 kB / 0.5927 GB, free: 1.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04774/0.4284, allocations: 9.174 MB / 0.6017 GB, free: 8.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.58, allocations: 10.52 kB / 0.6017 GB, free: 8.516 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.613443980924785]