Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001101/0.001101, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001306/0.001306, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8888/0.8888, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2365/0.2365, allocations: 34.25 MB / 294.9 MB, free: 0.7344 MB / 266.7 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.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.962e-05, allocations: 5.234 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1677/0.1677, allocations: 6.681 MB / 448.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.1714, allocations: 3.164 MB / 452 MB, free: 39.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.1719, allocations: 40.91 kB / 452 MB, free: 39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.173, allocations: 0.8235 MB / 452.9 MB, free: 38.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.1748, allocations: 1.369 MB / 454.2 MB, free: 38.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.1755, allocations: 0.5588 MB / 454.8 MB, free: 37.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1772, allocations: 2.958 MB / 457.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009182/0.1782, allocations: 1.401 MB / 459.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007965/0.179, allocations: 1.21 MB / 460.4 MB, free: 35.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.1798, allocations: 1.31 MB / 461.7 MB, free: 35.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.18, allocations: 146.2 kB / 461.8 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008505/0.1808, allocations: 0.8694 MB / 462.7 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004288/0.1813, allocations: 1.073 MB / 463.7 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.1816, allocations: 0.6576 MB / 464.4 MB, free: 34.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.1841, allocations: 4.048 MB / 468.5 MB, free: 33.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1841, allocations: 0 / 468.5 MB, free: 33.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1841, allocations: 0 / 468.5 MB, free: 33.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.511e-05/0.1842, allocations: 0 / 468.5 MB, free: 33.11 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.003324/0.1875, allocations: 2.978 MB / 471.4 MB, free: 31.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1875, allocations: 10.28 kB / 471.4 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000322/0.1879, allocations: 462.1 kB / 471.9 MB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/0.1911, allocations: 1.752 MB / 473.6 MB, free: 30.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.1926, allocations: 1.347 MB / 475 MB, free: 30.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.1926, allocations: 122.8 kB / 475.1 MB, free: 30.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.1928, allocations: 160.6 kB / 475.3 MB, free: 30.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007412/0.2002, allocations: 6.474 MB / 481.7 MB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.2003, allocations: 34.16 kB / 481.8 MB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.2005, allocations: 84.33 kB / 481.9 MB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001715/0.2022, allocations: 1.44 MB / 483.3 MB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008269/0.2104, allocations: 5.727 MB / 489 MB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.2293, allocations: 25.9 MB / 0.5029 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.2317, allocations: 1.651 MB / 0.5045 GB, free: 4.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008691/0.2326, allocations: 0.9622 MB / 0.5054 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2327, allocations: 32.25 kB / 0.5054 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2327, allocations: 42.89 kB / 0.5055 GB, free: 4.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.015e-06/0.2327, allocations: 0 / 0.5055 GB, free: 4.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.009333/0.242, allocations: 6.8 MB / 0.5121 GB, free: 13.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.2421, allocations: 141 kB / 0.5123 GB, free: 13.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.2457, allocations: 3.22 MB / 0.5154 GB, free: 9.871 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.2458, allocations: 41.7 kB / 0.5154 GB, free: 9.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.247, allocations: 2.167 MB / 0.5176 GB, free: 7.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/0.2474, allocations: 468.5 kB / 0.518 GB, free: 7.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007854/0.2482, allocations: 0.8894 MB / 0.5189 GB, free: 6.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.2482, allocations: 305.1 kB / 0.5192 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.2499, allocations: 1.43 MB / 0.5206 GB, free: 4.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.2525, allocations: 4.298 MB / 0.5248 GB, free: 14.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004811/0.2573, allocations: 6.201 MB / 0.5308 GB, free: 7.152 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.299e-05/0.2574, allocations: 32 kB / 0.5308 GB, free: 7.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.006197/0.2636, allocations: 5.524 MB / 0.5362 GB, free: 1.594 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.2636, allocations: 52 kB / 0.5363 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.16e-05/0.2637, allocations: 100 kB / 0.5364 GB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.972e-05/0.2638, allocations: 140.1 kB / 0.5365 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.266, allocations: 1.22 MB / 0.5377 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000124/0.2661, allocations: 203.2 kB / 0.5379 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.2679, allocations: 295.5 kB / 0.5382 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.2681, allocations: 287.9 kB / 0.5385 GB, free: 15.32 MB / 458.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.001476/0.2696, allocations: 1.383 MB / 0.5398 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.2699, allocations: 250.3 kB / 0.54 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.2711, allocations: 1.24 MB / 0.5413 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.2711, allocations: 12 kB / 0.5413 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.2711, allocations: 3.984 kB / 0.5413 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2711, allocations: 7.984 kB / 0.5413 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.2758, allocations: 4.408 MB / 0.5456 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2758, allocations: 4 kB / 0.5456 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008539/0.2767, allocations: 367.3 kB / 0.5459 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.2767, allocations: 8 kB / 0.5459 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.2768, allocations: 24 kB / 0.546 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.2768, allocations: 15.59 kB / 0.546 GB, free: 7.488 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2768, allocations: 12 kB / 0.546 GB, free: 7.477 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.2786, allocations: 2.16 MB / 0.5481 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.2789, allocations: 274.1 kB / 0.5484 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.2791, allocations: 20 kB / 0.5484 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.2797, allocations: 95.86 kB / 0.5485 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.2798, allocations: 67.77 kB / 0.5485 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.2798, allocations: 39.98 kB / 0.5486 GB, free: 4.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001756/0.2816, allocations: 1.944 MB / 0.5505 GB, free: 2.809 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2816, allocations: 0 / 0.5505 GB, free: 2.809 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002041/0.2836, allocations: 0.6756 MB / 0.5511 GB, free: 2.133 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.002367/0.286, allocations: 2.802 MB / 0.5539 GB, free: 15.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003416/0.2894, allocations: 3.156 MB / 0.557 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2894, allocations: 0 / 0.557 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.29, allocations: 0.7505 MB / 0.5577 GB, free: 11.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.2913, allocations: 268.4 kB / 0.5579 GB, free: 11.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/0.3204, allocations: 30.17 MB / 0.5874 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.3217, allocations: 1.639 MB / 0.589 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001976/0.3237, allocations: 1.468 MB / 0.5904 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.3247, allocations: 1.086 MB / 0.5915 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/0.3247, allocations: 0 / 0.5915 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/0.3774, allocations: 42.79 MB / 0.6333 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.652/9.029, allocations: 3.938 kB / 0.6333 GB, free: 10.36 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.2964740479365]