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.0008189/0.0008189, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008613/0.0008613, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8874/0.8874, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2341/0.2341, allocations: 32.79 MB / 293.5 MB, free: 1.207 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 439.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.554e-05, allocations: 8.109 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1635/0.1635, allocations: 6.68 MB / 446.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.167, allocations: 3.164 MB / 449.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/0.1674, allocations: 40.38 kB / 449.4 MB, free: 41.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009521/0.1684, allocations: 0.8206 MB / 450.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.17, allocations: 1.365 MB / 451.6 MB, free: 40.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.1706, allocations: 0.5684 MB / 452.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1723, allocations: 2.951 MB / 455.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.1732, allocations: 1.403 MB / 456.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009099/0.1741, allocations: 1.215 MB / 457.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.175, allocations: 1.316 MB / 459.1 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.1752, allocations: 142.1 kB / 459.2 MB, free: 38.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009505/0.1761, allocations: 0.8662 MB / 460.1 MB, free: 37.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004728/0.1766, allocations: 1.076 MB / 461.2 MB, free: 37.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.177, allocations: 0.6511 MB / 461.8 MB, free: 37.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.1795, allocations: 4.054 MB / 465.9 MB, free: 35.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1795, allocations: 0 / 465.9 MB, free: 35.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1795, allocations: 0 / 465.9 MB, free: 35.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.293e-05/0.1795, allocations: 0 / 465.9 MB, free: 35.67 MB / 410.7 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.003178/0.1827, allocations: 2.973 MB / 468.8 MB, free: 33.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.1828, allocations: 13.47 kB / 468.8 MB, free: 33.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003115/0.1831, allocations: 462.5 kB / 469.3 MB, free: 33.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.186, allocations: 1.748 MB / 471 MB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.1874, allocations: 1.344 MB / 472.4 MB, free: 32.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.1874, allocations: 119.7 kB / 472.5 MB, free: 32.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.1876, allocations: 162.2 kB / 472.7 MB, free: 32.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/0.1927, allocations: 6.478 MB / 479.1 MB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-05/0.1928, allocations: 38.47 kB / 479.2 MB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.193, allocations: 80.42 kB / 479.3 MB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/0.1945, allocations: 1.435 MB / 480.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/0.2022, allocations: 5.732 MB / 486.4 MB, free: 27.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02019/0.2224, allocations: 25.9 MB / 0.5003 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.225, allocations: 1.656 MB / 0.5019 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.2259, allocations: 0.9691 MB / 0.5029 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.226, allocations: 26.53 kB / 0.5029 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.226, allocations: 40.36 kB / 0.5029 GB, free: 7.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.418e-06/0.226, allocations: 0 / 0.5029 GB, free: 7.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.009383/0.2354, allocations: 6.795 MB / 0.5096 GB, free: 1.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2355, allocations: 149 kB / 0.5097 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.2381, allocations: 3.216 MB / 0.5129 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.861e-05/0.2382, allocations: 45.69 kB / 0.5129 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009393/0.2392, allocations: 2.167 MB / 0.515 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.2395, allocations: 464.5 kB / 0.5155 GB, free: 11.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007251/0.2402, allocations: 0.8894 MB / 0.5163 GB, free: 10.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2403, allocations: 305.1 kB / 0.5166 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.2417, allocations: 1.426 MB / 0.518 GB, free: 8.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.2443, allocations: 4.296 MB / 0.5222 GB, free: 2.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/0.2487, allocations: 6.21 MB / 0.5283 GB, free: 11.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/0.2487, allocations: 32 kB / 0.5283 GB, free: 11 MB / 442.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.005701/0.2544, allocations: 5.517 MB / 0.5337 GB, free: 5.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.2545, allocations: 52.03 kB / 0.5337 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.179e-05/0.2546, allocations: 107.9 kB / 0.5338 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.851e-05/0.2546, allocations: 132 kB / 0.534 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.2567, allocations: 1.232 MB / 0.5352 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.394e-05/0.2568, allocations: 199.6 kB / 0.5354 GB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.2587, allocations: 295.5 kB / 0.5356 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/0.2589, allocations: 283.9 kB / 0.5359 GB, free: 3.199 MB / 442.7 MB 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.001644/0.2606, allocations: 1.379 MB / 0.5373 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003448/0.2609, allocations: 250.3 kB / 0.5375 GB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.2622, allocations: 1.247 MB / 0.5387 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.2622, allocations: 16 kB / 0.5387 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.2622, allocations: 4 kB / 0.5387 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2622, allocations: 3.984 kB / 0.5387 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.2673, allocations: 4.404 MB / 0.543 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.2673, allocations: 8 kB / 0.5431 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/0.2682, allocations: 367.8 kB / 0.5434 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.2682, allocations: 8 kB / 0.5434 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/0.2685, allocations: 27.98 kB / 0.5434 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/0.2685, allocations: 15.92 kB / 0.5435 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2685, allocations: 4 kB / 0.5435 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.2703, allocations: 2.16 MB / 0.5456 GB, free: 9.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.2707, allocations: 266.1 kB / 0.5458 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.2709, allocations: 28 kB / 0.5458 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.2715, allocations: 95.84 kB / 0.5459 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.2716, allocations: 67.77 kB / 0.546 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.2716, allocations: 40 kB / 0.546 GB, free: 8.641 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001944/0.2736, allocations: 1.936 MB / 0.5479 GB, free: 6.699 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2736, allocations: 3.938 kB / 0.5479 GB, free: 6.695 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002228/0.2758, allocations: 0.6795 MB / 0.5486 GB, free: 6.016 MB / 458.7 MB 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.002377/0.2782, allocations: 2.806 MB / 0.5513 GB, free: 3.133 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.2815, allocations: 3.158 MB / 0.5544 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2815, allocations: 0 / 0.5544 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000633/0.2821, allocations: 0.7378 MB / 0.5551 GB, free: 15.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.2834, allocations: 279 kB / 0.5554 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/0.3117, allocations: 30.17 MB / 0.5849 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.313, allocations: 1.637 MB / 0.5865 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001928/0.3149, allocations: 1.473 MB / 0.5879 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.3159, allocations: 1.086 MB / 0.589 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/0.3159, allocations: 0 / 0.589 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/0.5229, allocations: 42.79 MB / 0.6308 GB, free: 156 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.765, allocations: 5.234 kB / 0.6308 GB, free: 156 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/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: 10.80519464891404]