Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009355/0.0009355, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9448/0.9448, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2617/0.2617, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.949e-05, allocations: 2.312 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01151/0.01153, allocations: 14.56 MB / 340.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009817/0.02135, allocations: 5.177 MB / 345.7 MB, free: 3.301 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.02357, allocations: 127.4 kB / 345.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005661/0.02923, allocations: 5.272 MB / 351.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.03569, allocations: 2.678 MB / 353.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.03794, allocations: 1.391 MB / 355.2 MB, free: 9.805 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009088/0.04703, allocations: 9.035 MB / 364.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006307/0.05334, allocations: 5.456 MB / 369.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008392/0.06173, allocations: 5.256 MB / 374.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005033/0.06676, allocations: 3.726 MB / 378.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.06826, allocations: 0.5508 MB / 379.2 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.07102, allocations: 1.564 MB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002707/0.07373, allocations: 3.394 MB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.07676, allocations: 2.107 MB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.08466, allocations: 7.038 MB / 393.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.08467, allocations: 3.938 kB / 393.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.08467, allocations: 0 / 393.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000305/0.08497, allocations: 0 / 393.3 MB, free: 3.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.0104/0.09537, allocations: 7.098 MB / 400.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.09541, allocations: 16.03 kB / 400.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.09995, allocations: 1.62 MB / 402 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/0.1044, allocations: 3.302 MB / 405.3 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.1046, allocations: 365.7 kB / 405.7 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006651/0.1053, allocations: 496.1 kB / 406.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009046/0.1143, allocations: 7.194 MB / 413.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.1145, allocations: 71.34 kB / 413.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.1149, allocations: 227.8 kB / 413.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/0.1169, allocations: 2.231 MB / 415.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006834/0.1237, allocations: 3.469 MB / 419.4 MB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1889/0.3126, allocations: 44.45 MB / 463.8 MB, free: 74.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005196/0.3178, allocations: 2.052 MB / 465.9 MB, free: 74.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.3186, allocations: 378.2 kB / 466.2 MB, free: 74.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006464/0.325, allocations: 4.344 MB / 470.6 MB, free: 73.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3251, allocations: 55.92 kB / 470.6 MB, free: 73.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.626e-06/0.3251, allocations: 0 / 470.6 MB, free: 73.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.012/0.3371, allocations: 5.044 MB / 475.7 MB, free: 72.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3371, allocations: 248.7 kB / 475.9 MB, free: 72.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/0.341, allocations: 4.862 MB / 480.8 MB, free: 71.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.3411, allocations: 43.83 kB / 480.8 MB, free: 71.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.3424, allocations: 4.461 MB / 485.3 MB, free: 67.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.3427, allocations: 0.6152 MB / 485.9 MB, free: 67.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009655/0.3437, allocations: 1.562 MB / 487.5 MB, free: 66.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.63e-05/0.3437, allocations: 301.1 kB / 487.8 MB, free: 65.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.3449, allocations: 0.9094 MB / 488.7 MB, free: 64.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.3469, allocations: 6.106 MB / 494.8 MB, free: 56.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.3506, allocations: 7.718 MB / 0.4907 GB, free: 46.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.714e-05/0.3507, allocations: 56 kB / 0.4908 GB, free: 46.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.00492/0.3556, allocations: 5.526 MB / 0.4962 GB, free: 40.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.3557, allocations: 84 kB / 0.4962 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.3558, allocations: 191.9 kB / 0.4964 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000454/0.3562, allocations: 355.3 kB / 0.4968 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/0.3588, allocations: 1.891 MB / 0.4986 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.3601, allocations: 3.963 MB / 0.5025 GB, free: 34.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/0.3642, allocations: 383.6 kB / 0.5029 GB, free: 33.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000428/0.3647, allocations: 440 kB / 0.5033 GB, free: 33.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,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 (1017): * Single equations (assignments): 1011 * 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.001609/0.3663, allocations: 0.8142 MB / 0.5041 GB, free: 32.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.3669, allocations: 279.7 kB / 0.5043 GB, free: 32.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.368, allocations: 0.8044 MB / 0.5051 GB, free: 31.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.368, allocations: 16 kB / 0.5051 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.368, allocations: 4 kB / 0.5051 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.368, allocations: 3.984 kB / 0.5051 GB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007405/0.3754, allocations: 4.704 MB / 0.5097 GB, free: 26.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.3754, allocations: 8 kB / 0.5097 GB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007164/0.3761, allocations: 220.3 kB / 0.51 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006478/0.3768, allocations: 382.8 kB / 0.5103 GB, free: 25.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.3769, allocations: 28 kB / 0.5103 GB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.3782, allocations: 3.62 MB / 0.5139 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3782, allocations: 8 kB / 0.5139 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.3802, allocations: 1.799 MB / 0.5156 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/0.381, allocations: 460.6 kB / 0.5161 GB, free: 19.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004367/0.3814, allocations: 28 kB / 0.5161 GB, free: 19.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3825, allocations: 39.97 kB / 0.5161 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.3827, allocations: 99.66 kB / 0.5162 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.3828, allocations: 32 kB / 0.5163 GB, free: 19.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001812/0.3846, allocations: 1.837 MB / 0.5181 GB, free: 17.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3846, allocations: 4 kB / 0.5181 GB, free: 17.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005206/0.3898, allocations: 1.379 MB / 0.5194 GB, free: 16.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (114): * Single equations (assignments): 108 * 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.0003504/0.3901, allocations: 156.8 kB / 0.5196 GB, free: 16.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003842/0.394, allocations: 3.266 MB / 0.5228 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000216/0.3942, allocations: 128.3 kB / 0.5229 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006044/0.3948, allocations: 0.6494 MB / 0.5235 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/0.3982, allocations: 0.9397 MB / 0.5244 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.4121, allocations: 10.54 MB / 0.5347 GB, free: 328 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.4144, allocations: 1.785 MB / 0.5365 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002332/0.4168, allocations: 0.6766 MB / 0.5371 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.4183, allocations: 0.7471 MB / 0.5379 GB, free: 13.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4183, allocations: 0 / 0.5379 GB, free: 13.11 MB / 426.7 MB Notification: Performance of Templates: time 0.06193/0.4802, allocations: 39.16 MB / 0.5761 GB, free: 6.402 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.343864582013339]