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.00147/0.00147, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.002521/0.002521, allocations: 165 kB / 23.79 MB, free: 0.7734 MB / 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.9619/0.9619, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1669/0.1669, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 1.282e-06/1.282e-06, allocations: 0 / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.019e-05, allocations: 12.22 kB / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01112/0.01114, allocations: 17.02 MB / 364.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008428/0.01957, allocations: 5.299 MB / 370 MB, free: 2.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.02061, allocations: 139.4 kB / 370.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.02571, allocations: 5.482 MB / 375.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003941/0.02965, allocations: 3.04 MB / 378.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.03156, allocations: 1.392 MB / 380.1 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007013/0.03858, allocations: 8.925 MB / 389 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/0.04422, allocations: 5.983 MB / 395 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004526/0.04875, allocations: 4.307 MB / 399.3 MB, free: 5.559 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004394/0.05314, allocations: 4.376 MB / 403.7 MB, free: 1.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.05433, allocations: 0.625 MB / 404.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.05658, allocations: 1.596 MB / 405.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002526/0.0591, allocations: 3.822 MB / 409.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002478/0.06158, allocations: 2.364 MB / 412.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.06839, allocations: 7.94 MB / 420 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.06839, allocations: 4 kB / 420 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.06839, allocations: 0 / 420 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.06854, allocations: 0 / 420 MB, free: 0.7734 MB / 346.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.009923/0.07846, allocations: 9.072 MB / 429.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.07851, allocations: 8.031 kB / 429.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00823/0.08674, allocations: 4.014 MB / 433.1 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2691/0.3558, allocations: 4.547 MB / 437.7 MB, free: 81.95 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.3561, allocations: 400 kB / 438.1 MB, free: 81.94 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.3575, allocations: 0.5293 MB / 438.6 MB, free: 81.94 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.3736, allocations: 9.98 MB / 448.6 MB, free: 77.56 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.3738, allocations: 76.62 kB / 448.7 MB, free: 77.56 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004448/0.3742, allocations: 257.4 kB / 448.9 MB, free: 77.56 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/0.3768, allocations: 3.072 MB / 452 MB, free: 77.35 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.3898, allocations: 5.394 MB / 457.4 MB, free: 72.81 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04787/0.4377, allocations: 68.08 MB / 0.5131 GB, free: 3.723 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006343/0.4441, allocations: 2.733 MB / 0.5158 GB, free: 0.9375 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.4457, allocations: 1.05 MB / 0.5168 GB, free: 15.88 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.4458, allocations: 49.64 kB / 0.5169 GB, free: 15.83 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.4458, allocations: 70.98 kB / 0.5169 GB, free: 15.75 MB / 378.8 MB Notification: Performance of pre-optimization done (n=249): time 5.781e-06/0.4459, allocations: 0 / 0.5169 GB, free: 15.75 MB / 378.8 MB Notification: Performance of matching and sorting (n=267): time 0.03629/0.4821, allocations: 19.35 MB / 0.5358 GB, free: 12.67 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4822, allocations: 265.2 kB / 0.5361 GB, free: 12.36 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00685/0.4891, allocations: 5.491 MB / 0.5415 GB, free: 7.105 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008544/0.49, allocations: 65.7 kB / 0.5415 GB, free: 7.035 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003621/0.4936, allocations: 5.384 MB / 0.5468 GB, free: 1.844 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/0.4955, allocations: 1.111 MB / 0.5479 GB, free: 0.7461 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002224/0.4977, allocations: 1.959 MB / 0.5498 GB, free: 14.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4978, allocations: 480.8 kB / 0.5502 GB, free: 14.3 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.4996, allocations: 1.095 MB / 0.5513 GB, free: 13.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005517/0.5051, allocations: 8.99 MB / 0.5601 GB, free: 0.6133 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/0.5156, allocations: 11.03 MB / 0.5709 GB, free: 2.055 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002683/0.5159, allocations: 52 kB / 0.5709 GB, free: 2.004 MB / 426.8 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.01938/0.5353, allocations: 8.739 MB / 0.5794 GB, free: 9.25 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.5354, allocations: 84 kB / 0.5795 GB, free: 9.164 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/0.5356, allocations: 188 kB / 0.5797 GB, free: 8.98 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/0.5385, allocations: 1.169 MB / 0.5808 GB, free: 7.801 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/0.5434, allocations: 2.078 MB / 0.5829 GB, free: 5.719 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1849/0.7283, allocations: 8.822 MB / 0.5915 GB, free: 125.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0058/0.7341, allocations: 0.6026 MB / 0.5921 GB, free: 125.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/0.7357, allocations: 0.5227 MB / 0.5926 GB, free: 125.4 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * 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 (1110): * Single equations (assignments): 1104 * 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,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003064/0.7387, allocations: 0.8913 MB / 0.5934 GB, free: 125.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/0.7402, allocations: 0.5946 MB / 0.594 GB, free: 125.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/0.7453, allocations: 3.011 MB / 0.597 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/0.7453, allocations: 28.88 kB / 0.597 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/0.7454, allocations: 8.25 kB / 0.597 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.7454, allocations: 14.17 kB / 0.597 GB, free: 125 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/0.7611, allocations: 8.939 MB / 0.6057 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.7611, allocations: 9.203 kB / 0.6058 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.7624, allocations: 453.7 kB / 0.6062 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.7646, allocations: 0.8772 MB / 0.607 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.7648, allocations: 50.53 kB / 0.6071 GB, free: 124.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/0.7701, allocations: 8.103 MB / 0.615 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7701, allocations: 3.75 kB / 0.615 GB, free: 118.4 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/0.7769, allocations: 4.346 MB / 0.6193 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/0.7791, allocations: 0.9272 MB / 0.6202 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006707/0.7798, allocations: 47.69 kB / 0.6202 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.7813, allocations: 270.3 kB / 0.6205 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/0.7817, allocations: 174.1 kB / 0.6206 GB, free: 117.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.7818, allocations: 71.69 kB / 0.6207 GB, free: 117.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003648/0.7854, allocations: 2.421 MB / 0.6231 GB, free: 117.1 MB / 442.8 MB Notification: Performance of sort global known variables: time 2e-07/0.7854, allocations: 0 / 0.6231 GB, free: 117.1 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007416/0.7929, allocations: 1.888 MB / 0.6249 GB, free: 116.9 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000614/0.7935, allocations: 210.3 kB / 0.6251 GB, free: 116.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.007736/0.8012, allocations: 5.03 MB / 0.63 GB, free: 112.9 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.8012, allocations: 3.172 kB / 0.63 GB, free: 112.9 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.8031, allocations: 1.61 MB / 0.6316 GB, free: 111.4 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/0.8067, allocations: 0.6991 MB / 0.6323 GB, free: 110.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.8257, allocations: 12.74 MB / 0.6447 GB, free: 98.73 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.8279, allocations: 2.095 MB / 0.6468 GB, free: 96.61 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003742/0.8316, allocations: 2.267 MB / 0.649 GB, free: 94.33 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/0.8326, allocations: 364.4 kB / 0.6493 GB, free: 93.98 MB / 442.8 MB Notification: Performance of SimCode: time 2.655e-06/0.8326, allocations: 0 / 0.6493 GB, free: 93.98 MB / 442.8 MB Notification: Performance of Templates: time 0.06992/0.9026, allocations: 55.29 MB / 0.7033 GB, free: 38.82 MB / 442.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 -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: 5.387355610262603]