Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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.001885/0.001885, 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.00219/0.00219, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2465/0.2465, allocations: 44.94 MB / 358.8 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 65.47 MB / 0.5569 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009386/0.3323, allocations: 6.69 MB / 0.5635 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006744/0.3391, allocations: 3.156 MB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008927/0.34, allocations: 43.75 kB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.3418, allocations: 0.7898 MB / 0.5674 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.3453, allocations: 1.331 MB / 0.5687 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.3468, allocations: 0.5223 MB / 0.5692 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004275/0.3511, allocations: 2.601 MB / 0.5717 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.353, allocations: 1.15 MB / 0.5728 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.3544, allocations: 0.7901 MB / 0.5736 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.3563, allocations: 1.191 MB / 0.5748 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004155/0.3567, allocations: 140 kB / 0.5749 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.3584, allocations: 0.8268 MB / 0.5757 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.3595, allocations: 1.032 MB / 0.5767 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3606, allocations: 0.869 MB / 0.5776 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.3655, allocations: 4.053 MB / 0.5815 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3655, allocations: 0 / 0.5815 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3655, allocations: 0 / 0.5815 GB, free: 14.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.31e-05/0.3655, allocations: 4 kB / 0.5815 GB, free: 14.26 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005014/0.3705, allocations: 2.947 MB / 0.5844 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3706, allocations: 12.03 kB / 0.5844 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005337/0.3711, allocations: 458.5 kB / 0.5849 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.3772, allocations: 1.676 MB / 0.5865 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/0.381, allocations: 1.505 MB / 0.588 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3811, allocations: 123.4 kB / 0.5881 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003802/0.3815, allocations: 167.8 kB / 0.5882 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3915, allocations: 6.449 MB / 0.5945 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.466e-05/0.3916, allocations: 35.75 kB / 0.5946 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.3918, allocations: 79.89 kB / 0.5947 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.3945, allocations: 1.437 MB / 0.5961 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.4049, allocations: 5.716 MB / 0.6016 GB, free: 9.051 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/0.4402, allocations: 25.78 MB / 0.6268 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/0.4447, allocations: 1.627 MB / 0.6284 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.4462, allocations: 0.9594 MB / 0.6293 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.4463, allocations: 16.27 kB / 0.6294 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.4464, allocations: 51.09 kB / 0.6294 GB, free: 11.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.537e-06/0.4464, allocations: 0 / 0.6294 GB, free: 11.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01623/0.4626, allocations: 6.547 MB / 0.6358 GB, free: 5.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/0.4627, allocations: 140.9 kB / 0.6359 GB, free: 4.961 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/0.4668, allocations: 3.064 MB / 0.6389 GB, free: 1.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.233e-05/0.4669, allocations: 41.7 kB / 0.639 GB, free: 1.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.4686, allocations: 2.194 MB / 0.6411 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.4691, allocations: 476.5 kB / 0.6416 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.4703, allocations: 0.8973 MB / 0.6424 GB, free: 14.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4704, allocations: 305.1 kB / 0.6427 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.4728, allocations: 1.418 MB / 0.6441 GB, free: 12.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004885/0.4776, allocations: 4.287 MB / 0.6483 GB, free: 6.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00803/0.4857, allocations: 6.189 MB / 0.6543 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.4858, allocations: 32 kB / 0.6544 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01001/0.4958, allocations: 5.496 MB / 0.6597 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.4959, allocations: 54.19 kB / 0.6598 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.496, allocations: 100 kB / 0.6599 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.4961, allocations: 139.8 kB / 0.66 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/0.5003, allocations: 1.216 MB / 0.6612 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001685/0.5004, allocations: 195.2 kB / 0.6614 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.5031, allocations: 247.6 kB / 0.6616 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004442/0.5035, allocations: 284 kB / 0.6619 GB, free: 7.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002049/0.5056, allocations: 1.384 MB / 0.6633 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.506, allocations: 254.5 kB / 0.6635 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.5082, allocations: 1.241 MB / 0.6647 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.5082, allocations: 19.98 kB / 0.6647 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5082, allocations: 3.938 kB / 0.6647 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.5082, allocations: 3.984 kB / 0.6647 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008752/0.517, allocations: 4.346 MB / 0.669 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.517, allocations: 4 kB / 0.669 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.5191, allocations: 359.9 kB / 0.6693 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/0.5191, allocations: 16 kB / 0.6693 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.5192, allocations: 23.98 kB / 0.6694 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-05/0.5192, allocations: 11.94 kB / 0.6694 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5192, allocations: 8 kB / 0.6694 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.5226, allocations: 2.176 MB / 0.6715 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/0.5234, allocations: 242.1 kB / 0.6717 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.5236, allocations: 20 kB / 0.6718 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/0.5246, allocations: 55.92 kB / 0.6718 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.5248, allocations: 75.77 kB / 0.6719 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.931e-05/0.5249, allocations: 43.92 kB / 0.6719 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003387/0.5282, allocations: 1.819 MB / 0.6737 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5282, allocations: 0 / 0.6737 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003774/0.532, allocations: 0.6093 MB / 0.6743 GB, free: 10.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003604/0.5356, allocations: 2.794 MB / 0.677 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005707/0.5413, allocations: 3.146 MB / 0.6801 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.5413, allocations: 4 kB / 0.6801 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5425, allocations: 0.7414 MB / 0.6808 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.5444, allocations: 270.8 kB / 0.6811 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04311/0.5875, allocations: 29.81 MB / 0.7102 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/0.5898, allocations: 1.635 MB / 0.7118 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00351/0.5933, allocations: 1.459 MB / 0.7132 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.5951, allocations: 1.077 MB / 0.7143 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/0.5951, allocations: 4 kB / 0.7143 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3215/0.9166, allocations: 41.28 MB / 0.7546 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.05, allocations: 13.92 kB / 0.7546 GB, free: 145 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.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: 18.2273402470164]