Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.001336/0.001336, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001583/0.001583, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9861/0.9861, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1557/0.1557, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 299.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.81e-05, allocations: 2.312 kB / 299.2 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.1525/0.1526, allocations: 16.62 MB / 315.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.166, allocations: 5.505 MB / 321.3 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00499/0.171, allocations: 133.6 kB / 321.4 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007595/0.1786, allocations: 5.393 MB / 326.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008186/0.1868, allocations: 3.036 MB / 329.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003233/0.19, allocations: 1.388 MB / 331.2 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.2016, allocations: 8.931 MB / 340.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007966/0.2096, allocations: 5.786 MB / 346 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.2199, allocations: 5.111 MB / 351.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008033/0.228, allocations: 4.131 MB / 355.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.2303, allocations: 0.625 MB / 355.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.2336, allocations: 1.646 MB / 357.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003584/0.2372, allocations: 3.799 MB / 361.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005112/0.2423, allocations: 2.372 MB / 363.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.2538, allocations: 7.937 MB / 371.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2538, allocations: 0 / 371.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2538, allocations: 0 / 371.6 MB, free: 5.477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004454/0.2542, allocations: 4 kB / 371.6 MB, free: 5.473 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.0126/0.2668, allocations: 7.841 MB / 379.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2669, allocations: 8.031 kB / 379.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005448/0.2723, allocations: 1.819 MB / 381.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006516/0.2788, allocations: 3.557 MB / 384.8 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.2791, allocations: 402.7 kB / 385.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.2805, allocations: 0.5358 MB / 385.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.2945, allocations: 8.024 MB / 393.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002831/0.2948, allocations: 71.44 kB / 393.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008964/0.2957, allocations: 260.9 kB / 394.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/0.2981, allocations: 2.726 MB / 396.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009911/0.308, allocations: 3.956 MB / 400.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04913/0.3571, allocations: 49.18 MB / 449.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005415/0.3625, allocations: 2.273 MB / 452.2 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/0.3635, allocations: 492.6 kB / 452.7 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008649/0.3721, allocations: 5.029 MB / 457.7 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.3722, allocations: 59.86 kB / 457.8 MB, free: 12.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 4.759e-06/0.3722, allocations: 0 / 457.8 MB, free: 12.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.01501/0.3872, allocations: 5.845 MB / 463.6 MB, free: 6.164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.3873, allocations: 252.8 kB / 463.9 MB, free: 5.863 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005596/0.3929, allocations: 5.109 MB / 469 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003606/0.3933, allocations: 57.7 kB / 469 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2775/0.6708, allocations: 4.947 MB / 474 MB, free: 133.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.6721, allocations: 0.8298 MB / 474.8 MB, free: 133.3 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.6741, allocations: 1.725 MB / 476.5 MB, free: 133.1 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.6742, allocations: 302.9 kB / 476.8 MB, free: 132.8 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.676, allocations: 1.048 MB / 477.9 MB, free: 132.8 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00384/0.6799, allocations: 6.617 MB / 484.5 MB, free: 125.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007078/0.687, allocations: 8.409 MB / 492.9 MB, free: 117.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003262/0.6873, allocations: 57.56 kB / 493 MB, free: 117.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.01136/0.6986, allocations: 6.079 MB / 499.1 MB, free: 115.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/0.6987, allocations: 94.88 kB / 499.1 MB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/0.6989, allocations: 200.7 kB / 499.3 MB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.6996, allocations: 369.3 kB / 499.7 MB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/0.7034, allocations: 2.124 MB / 0.4901 GB, free: 115.6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.705, allocations: 3.981 MB / 0.494 GB, free: 111.9 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004835/0.7098, allocations: 413.1 kB / 0.4943 GB, free: 111.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009673/0.7108, allocations: 483.3 kB / 0.4948 GB, free: 111.8 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1137): * Single equations (assignments): 1131 * Array equations: 3 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002398/0.7132, allocations: 0.8761 MB / 0.4957 GB, free: 111.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007748/0.714, allocations: 326.6 kB / 0.496 GB, free: 111.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.7153, allocations: 1.133 MB / 0.4971 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.7153, allocations: 29.38 kB / 0.4971 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7153, allocations: 3.906 kB / 0.4971 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.7153, allocations: 11.17 kB / 0.4971 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008002/0.7233, allocations: 5.67 MB / 0.5027 GB, free: 106.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.7234, allocations: 8.125 kB / 0.5027 GB, free: 106.8 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/0.7242, allocations: 328.8 kB / 0.503 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005848/0.7248, allocations: 393.5 kB / 0.5034 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.7249, allocations: 39.56 kB / 0.5034 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.7261, allocations: 3.615 MB / 0.5069 GB, free: 102.3 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7262, allocations: 18.94 kB / 0.5069 GB, free: 102.3 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.7284, allocations: 2.259 MB / 0.5091 GB, free: 100.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.7295, allocations: 0.6189 MB / 0.5098 GB, free: 99.57 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/0.7299, allocations: 43.98 kB / 0.5098 GB, free: 99.53 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.7308, allocations: 58.95 kB / 0.5099 GB, free: 99.48 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.731, allocations: 142 kB / 0.51 GB, free: 99.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.7311, allocations: 43.8 kB / 0.51 GB, free: 99.36 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002048/0.7331, allocations: 1.946 MB / 0.5119 GB, free: 97.63 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7331, allocations: 0 / 0.5119 GB, free: 97.63 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005837/0.739, allocations: 1.587 MB / 0.5135 GB, free: 96.05 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.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 (177): * Single equations (assignments): 171 * Array equations: 3 * 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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004164/0.7394, allocations: 187 kB / 0.5137 GB, free: 95.87 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005232/0.7446, allocations: 3.677 MB / 0.5172 GB, free: 92.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002744/0.7449, allocations: 124.2 kB / 0.5174 GB, free: 92.06 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.7457, allocations: 0.8304 MB / 0.5182 GB, free: 91.2 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004219/0.7499, allocations: 1.01 MB / 0.5192 GB, free: 90.23 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.7663, allocations: 12.13 MB / 0.531 GB, free: 77.92 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.7681, allocations: 2.039 MB / 0.533 GB, free: 75.85 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002366/0.7705, allocations: 0.7564 MB / 0.5337 GB, free: 75.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.7718, allocations: 0.8174 MB / 0.5345 GB, free: 74.28 MB / 426.8 MB Notification: Performance of SimCode: time 1.983e-06/0.7718, allocations: 0 / 0.5345 GB, free: 74.28 MB / 426.8 MB Notification: Performance of Templates: time 0.06383/0.8356, allocations: 44.74 MB / 0.5782 GB, free: 29.63 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.756098025944084]