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.001449/0.001449, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001729/0.001729, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.045/1.045, allocations: 177 MB / 204.8 MB, free: 5.621 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.2712/0.2712, allocations: 34.86 MB / 296.3 MB, free: 500 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 2.154e-06/2.154e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.794e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01618/0.01622, allocations: 14.89 MB / 393.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00953/0.02575, allocations: 4.983 MB / 398.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.02865, allocations: 127.3 kB / 398.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006522/0.03517, allocations: 5.362 MB / 404.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.04143, allocations: 2.694 MB / 406.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.04378, allocations: 1.384 MB / 408.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.05535, allocations: 9.073 MB / 417.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007513/0.06287, allocations: 5.659 MB / 422.9 MB, free: 5.684 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009322/0.07219, allocations: 5.377 MB / 428.3 MB, free: 304 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005903/0.07809, allocations: 3.905 MB / 432.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.07985, allocations: 0.5508 MB / 432.8 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.08288, allocations: 1.529 MB / 434.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003491/0.08637, allocations: 3.405 MB / 437.7 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003578/0.08995, allocations: 2.107 MB / 439.8 MB, free: 4.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1789/0.2688, allocations: 7.033 MB / 446.9 MB, free: 67.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2688, allocations: 3.062 kB / 446.9 MB, free: 67.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2688, allocations: 0 / 446.9 MB, free: 67.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004444/0.2693, allocations: 1.938 kB / 446.9 MB, free: 67.55 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: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01234/0.2816, allocations: 8.318 MB / 455.2 MB, free: 64.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2816, allocations: 8.438 kB / 455.2 MB, free: 64.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008455/0.2901, allocations: 3.648 MB / 458.8 MB, free: 64.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/0.296, allocations: 4.014 MB / 462.8 MB, free: 63.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.2962, allocations: 360.9 kB / 463.2 MB, free: 63.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006351/0.2968, allocations: 489.8 kB / 463.7 MB, free: 63.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01168/0.3085, allocations: 9.008 MB / 472.7 MB, free: 59.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.3087, allocations: 77.58 kB / 472.8 MB, free: 59.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.3091, allocations: 229.3 kB / 473 MB, free: 59.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.3111, allocations: 2.373 MB / 475.4 MB, free: 58.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3218, allocations: 4.493 MB / 479.9 MB, free: 58.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.3646, allocations: 62.38 MB / 0.5295 GB, free: 22.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.3697, allocations: 2.228 MB / 0.5317 GB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/0.3705, allocations: 0.5616 MB / 0.5322 GB, free: 22.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006613/0.3772, allocations: 4.861 MB / 0.537 GB, free: 19.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.3772, allocations: 58.52 kB / 0.5371 GB, free: 19.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 3.738e-06/0.3772, allocations: 0 / 0.5371 GB, free: 19.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=135): time 0.01751/0.3947, allocations: 11.38 MB / 0.5482 GB, free: 11.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.3948, allocations: 247.8 kB / 0.5484 GB, free: 11.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006078/0.4009, allocations: 5.449 MB / 0.5537 GB, free: 6.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002371/0.4011, allocations: 49.69 kB / 0.5538 GB, free: 6.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003538/0.4047, allocations: 5.076 MB / 0.5587 GB, free: 1.242 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.4053, allocations: 0.6399 MB / 0.5594 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.4069, allocations: 1.781 MB / 0.5611 GB, free: 14.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.4069, allocations: 484.8 kB / 0.5616 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4082, allocations: 0.7374 MB / 0.5623 GB, free: 13.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/0.4135, allocations: 8.678 MB / 0.5707 GB, free: 1.352 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008464/0.4219, allocations: 10.25 MB / 0.5808 GB, free: 3.949 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/0.4221, allocations: 52 kB / 0.5808 GB, free: 3.898 MB / 458.7 MB Notification: Performance of matching and sorting (n=1044) (initialization): time 0.01096/0.4331, allocations: 6.878 MB / 0.5875 GB, free: 13.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.4331, allocations: 88 kB / 0.5876 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.4333, allocations: 192.1 kB / 0.5878 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000885/0.4342, allocations: 358.8 kB / 0.5881 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/0.4376, allocations: 1.879 MB / 0.59 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.4403, allocations: 5.601 MB / 0.5954 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/0.4444, allocations: 0.5542 MB / 0.596 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/0.445, allocations: 0.4943 MB / 0.5965 GB, free: 3.473 MB / 474.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.001683/0.4467, allocations: 0.8437 MB / 0.5973 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006762/0.4473, allocations: 0.5085 MB / 0.5978 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.4486, allocations: 0.9441 MB / 0.5987 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.4486, allocations: 18.27 kB / 0.5987 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4486, allocations: 0 / 0.5987 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.4486, allocations: 15.92 kB / 0.5987 GB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008529/0.4571, allocations: 5.714 MB / 0.6043 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.4571, allocations: 8 kB / 0.6043 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.4577, allocations: 223.6 kB / 0.6045 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.4581, allocations: 111.2 kB / 0.6046 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/0.4581, allocations: 32 kB / 0.6047 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003138/0.4613, allocations: 5.271 MB / 0.6098 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4613, allocations: 11.94 kB / 0.6098 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.4642, allocations: 2.275 MB / 0.6121 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009306/0.4652, allocations: 0.4888 MB / 0.6125 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/0.4655, allocations: 31.98 kB / 0.6126 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000921/0.4664, allocations: 139.8 kB / 0.6127 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.4666, allocations: 107.6 kB / 0.6128 GB, free: 2.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.4667, allocations: 47.92 kB / 0.6128 GB, free: 2.031 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.1839/0.6506, allocations: 2.37 MB / 0.6152 GB, free: 147.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6506, allocations: 0 / 0.6152 GB, free: 147.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006317/0.6569, allocations: 1.369 MB / 0.6165 GB, free: 147.9 MB / 490.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.0004139/0.6573, allocations: 179.6 kB / 0.6167 GB, free: 147.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006688/0.664, allocations: 3.825 MB / 0.6204 GB, free: 147.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/0.664, allocations: 3.062 kB / 0.6204 GB, free: 147.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009503/0.665, allocations: 0.8964 MB / 0.6213 GB, free: 146.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.6686, allocations: 0.6563 MB / 0.6219 GB, free: 146.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.6854, allocations: 10.71 MB / 0.6324 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.6872, allocations: 1.787 MB / 0.6341 GB, free: 141.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003524/0.6907, allocations: 2.041 MB / 0.6361 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/0.6913, allocations: 305 kB / 0.6364 GB, free: 141.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.284e-06/0.6913, allocations: 0 / 0.6364 GB, free: 141.7 MB / 490.7 MB Notification: Performance of Templates: time 0.05961/0.751, allocations: 36.89 MB / 0.6724 GB, free: 126.8 MB / 490.7 MB " [Timeout remaining time 659] 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 -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.71016531996429]