Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.001048/0.001048, allocations: 76.06 kB / 20.72 MB, free: 3.762 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.001988/0.001988, allocations: 169 kB / 24.14 MB, free: 352 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.9616/0.9616, allocations: 158.6 MB / 186 MB, free: 2.777 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.1389/0.1389, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.527e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.1683/0.1683, allocations: 16.08 MB / 315.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.1826, allocations: 5.23 MB / 320.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.1852, allocations: 127.8 kB / 320.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.19, allocations: 5.447 MB / 326 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.1951, allocations: 2.927 MB / 328.9 MB, free: 340 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.197, allocations: 1.197 MB / 330.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00716/0.2042, allocations: 7.516 MB / 337.6 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005354/0.2095, allocations: 5.486 MB / 343.1 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005612/0.2151, allocations: 4.577 MB / 347.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.2193, allocations: 3.561 MB / 351.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006639/0.2199, allocations: 0.5508 MB / 351.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.2222, allocations: 1.401 MB / 353.2 MB, free: 7.906 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.2244, allocations: 3.471 MB / 356.7 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.2263, allocations: 2.146 MB / 358.8 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.2326, allocations: 7.309 MB / 366.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2326, allocations: 0 / 366.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2326, allocations: 0 / 366.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.732e-05/0.2327, allocations: 0 / 366.1 MB, free: 10.94 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.007739/0.2404, allocations: 7.419 MB / 373.6 MB, free: 3.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2405, allocations: 8.031 kB / 373.6 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00398/0.2444, allocations: 1.667 MB / 375.2 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003592/0.248, allocations: 3.218 MB / 378.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.2482, allocations: 386.2 kB / 378.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/0.2488, allocations: 0.5001 MB / 379.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007695/0.2565, allocations: 7.733 MB / 387.1 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.2566, allocations: 63.48 kB / 387.1 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003986/0.257, allocations: 243.8 kB / 387.4 MB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002269/0.2593, allocations: 2.666 MB / 390 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006451/0.2657, allocations: 3.9 MB / 393.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04017/0.3059, allocations: 47.77 MB / 441.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/0.3132, allocations: 2.565 MB / 444.3 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3142, allocations: 0.5734 MB / 444.8 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009446/0.3236, allocations: 5.012 MB / 449.8 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.3237, allocations: 60.16 kB / 449.9 MB, free: 4.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=209): time 4.679e-06/0.3237, allocations: 4 kB / 449.9 MB, free: 4.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.02671/0.3504, allocations: 8.429 MB / 458.3 MB, free: 11.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.3505, allocations: 227.3 kB / 458.6 MB, free: 11.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.355, allocations: 4.99 MB / 463.5 MB, free: 6.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.3551, allocations: 57.7 kB / 463.6 MB, free: 6.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002606/0.3577, allocations: 4.8 MB / 468.4 MB, free: 1.336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.3587, allocations: 0.9111 MB / 469.3 MB, free: 428 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.182/0.5408, allocations: 1.739 MB / 471.1 MB, free: 136.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.5408, allocations: 306.1 kB / 471.3 MB, free: 135.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/0.5435, allocations: 1.142 MB / 472.5 MB, free: 135.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/0.5482, allocations: 6.663 MB / 479.2 MB, free: 128.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008296/0.5565, allocations: 8.567 MB / 487.7 MB, free: 120.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/0.5567, allocations: 57.25 kB / 487.8 MB, free: 120.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01131/0.568, allocations: 6.437 MB / 494.2 MB, free: 119 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.901e-05/0.5681, allocations: 91.66 kB / 494.3 MB, free: 119 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/0.5683, allocations: 201.8 kB / 494.5 MB, free: 119 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.5697, allocations: 0.6201 MB / 495.1 MB, free: 119 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.5729, allocations: 2.039 MB / 497.2 MB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.5766, allocations: 4.227 MB / 0.4896 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/0.5806, allocations: 408 kB / 0.49 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/0.5812, allocations: 483.9 kB / 0.4905 GB, free: 115.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 914 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1141): * Single equations (assignments): 1134 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002388/0.5836, allocations: 0.8754 MB / 0.4913 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007537/0.5843, allocations: 321.3 kB / 0.4916 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.5867, allocations: 1.515 MB / 0.4931 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/0.5867, allocations: 24.52 kB / 0.4932 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.5867, allocations: 6.25 kB / 0.4932 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.5867, allocations: 11.02 kB / 0.4932 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009467/0.5962, allocations: 6.309 MB / 0.4993 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5962, allocations: 8 kB / 0.4993 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.597, allocations: 306 kB / 0.4996 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.5983, allocations: 0.6231 MB / 0.5002 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.5984, allocations: 46.95 kB / 0.5003 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.6011, allocations: 3.824 MB / 0.504 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.6011, allocations: 12.62 kB / 0.504 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/0.6039, allocations: 2.651 MB / 0.5066 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.605, allocations: 0.6424 MB / 0.5072 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.6054, allocations: 40.75 kB / 0.5073 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008686/0.6063, allocations: 47.98 kB / 0.5073 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.6065, allocations: 151 kB / 0.5075 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.765e-05/0.6066, allocations: 63.47 kB / 0.5075 GB, free: 103.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001594/0.6082, allocations: 1.863 MB / 0.5094 GB, free: 101.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6082, allocations: 0 / 0.5094 GB, free: 101.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0063/0.6145, allocations: 1.64 MB / 0.511 GB, free: 100.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (184): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004245/0.6149, allocations: 187.3 kB / 0.5111 GB, free: 99.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004947/0.6198, allocations: 3.829 MB / 0.5149 GB, free: 96.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000179/0.62, allocations: 124.2 kB / 0.515 GB, free: 95.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008807/0.6209, allocations: 0.8811 MB / 0.5159 GB, free: 95.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.6237, allocations: 0.9316 MB / 0.5168 GB, free: 94.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.6375, allocations: 11.67 MB / 0.5282 GB, free: 82.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.6391, allocations: 1.951 MB / 0.5301 GB, free: 80.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001902/0.641, allocations: 0.7468 MB / 0.5308 GB, free: 79.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.642, allocations: 0.7729 MB / 0.5315 GB, free: 78.87 MB / 426.7 MB Notification: Performance of SimCode: time 2.354e-06/0.642, allocations: 4 kB / 0.5315 GB, free: 78.87 MB / 426.7 MB Notification: Performance of Templates: time 0.0693/0.7113, allocations: 48.53 MB / 0.5789 GB, free: 30.43 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.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.642431959044188]