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.001027/0.001027, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001214/0.001214, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9045/0.9045, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1316/0.1316, allocations: 32.38 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 2.454e-06/2.454e-06, allocations: 3.984 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.976e-05, allocations: 9.344 kB / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01155/0.01158, allocations: 17.01 MB / 364.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02169, allocations: 5.307 MB / 370 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.02547, allocations: 135.4 kB / 370.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007314/0.03278, allocations: 5.478 MB / 375.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007015/0.0398, allocations: 3.048 MB / 378.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.04222, allocations: 1.4 MB / 380.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009505/0.05173, allocations: 8.928 MB / 389 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006697/0.05843, allocations: 5.983 MB / 395 MB, free: 9.867 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008909/0.06733, allocations: 5.232 MB / 400.2 MB, free: 4.625 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/0.07356, allocations: 4.314 MB / 404.6 MB, free: 308 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.07599, allocations: 0.625 MB / 405.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.07984, allocations: 1.603 MB / 406.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004587/0.08443, allocations: 3.818 MB / 410.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00487/0.0893, allocations: 2.376 MB / 413 MB, free: 7.859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.1015, allocations: 7.944 MB / 420.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1015, allocations: 0 / 420.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1015, allocations: 0 / 420.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004172/0.1019, allocations: 0 / 420.9 MB, free: 15.89 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01534/0.1173, allocations: 9.158 MB / 430.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1173, allocations: 12.02 kB / 430.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009229/0.1265, allocations: 3.905 MB / 434 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2914/0.418, allocations: 4.34 MB / 438.3 MB, free: 60.84 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.4183, allocations: 407.1 kB / 438.7 MB, free: 60.82 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.4197, allocations: 0.5317 MB / 439.3 MB, free: 60.82 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02604/0.4458, allocations: 9.967 MB / 449.2 MB, free: 56.44 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003692/0.4461, allocations: 76 kB / 449.3 MB, free: 56.44 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.4474, allocations: 255.5 kB / 449.6 MB, free: 56.44 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/0.4511, allocations: 2.91 MB / 452.5 MB, free: 56.42 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.47, allocations: 5.111 MB / 457.6 MB, free: 56.34 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.5218, allocations: 68.64 MB / 0.5139 GB, free: 6.426 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006557/0.5284, allocations: 2.517 MB / 0.5163 GB, free: 3.875 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.5298, allocations: 0.7229 MB / 0.517 GB, free: 3.137 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.5413, allocations: 5.663 MB / 0.5226 GB, free: 13.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.5413, allocations: 58.23 kB / 0.5226 GB, free: 13.62 MB / 394.8 MB Notification: Performance of pre-optimization done (n=192): time 5.61e-06/0.5413, allocations: 0 / 0.5226 GB, free: 13.62 MB / 394.8 MB Notification: Performance of matching and sorting (n=195): time 0.02958/0.5709, allocations: 13.11 MB / 0.5354 GB, free: 0.7422 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.571, allocations: 256 kB / 0.5357 GB, free: 452 kB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008295/0.5793, allocations: 5.735 MB / 0.5413 GB, free: 10.97 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003796/0.5797, allocations: 60.75 kB / 0.5413 GB, free: 10.91 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004148/0.5838, allocations: 5.588 MB / 0.5468 GB, free: 5.379 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.5851, allocations: 0.8636 MB / 0.5476 GB, free: 4.523 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/0.5876, allocations: 1.953 MB / 0.5495 GB, free: 2.555 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5877, allocations: 476.8 kB / 0.55 GB, free: 2.086 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.5896, allocations: 0.8841 MB / 0.5509 GB, free: 1.195 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/0.596, allocations: 9.364 MB / 0.56 GB, free: 4.02 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6063, allocations: 11.18 MB / 0.5709 GB, free: 5.527 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003018/0.6067, allocations: 58.62 kB / 0.571 GB, free: 5.473 MB / 442.8 MB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.01485/0.6215, allocations: 7.652 MB / 0.5785 GB, free: 13.8 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.6216, allocations: 88.97 kB / 0.5785 GB, free: 13.72 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/0.6218, allocations: 204 kB / 0.5787 GB, free: 13.52 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/0.6226, allocations: 366.9 kB / 0.5791 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/0.6275, allocations: 2.129 MB / 0.5812 GB, free: 11.02 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/0.6304, allocations: 5.624 MB / 0.5867 GB, free: 5.023 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005346/0.6358, allocations: 0.6282 MB / 0.5873 GB, free: 4.395 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.6368, allocations: 0.5312 MB / 0.5878 GB, free: 3.863 MB / 458.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.002746/0.6395, allocations: 0.9213 MB / 0.5887 GB, free: 2.926 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.6407, allocations: 0.5658 MB / 0.5892 GB, free: 2.359 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.6428, allocations: 1.424 MB / 0.5906 GB, free: 0.9102 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.6428, allocations: 20 kB / 0.5906 GB, free: 0.8906 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6428, allocations: 4 kB / 0.5906 GB, free: 0.8867 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.6429, allocations: 11.97 kB / 0.5907 GB, free: 0.875 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.209/0.8519, allocations: 6.954 MB / 0.5975 GB, free: 148.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.8519, allocations: 6.625 kB / 0.5975 GB, free: 148.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.8532, allocations: 337.9 kB / 0.5978 GB, free: 148.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008127/0.854, allocations: 112 kB / 0.5979 GB, free: 148.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.8542, allocations: 44.25 kB / 0.5979 GB, free: 148.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.8568, allocations: 5.269 MB / 0.6031 GB, free: 143.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.8568, allocations: 8.969 kB / 0.6031 GB, free: 143.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.8616, allocations: 2.933 MB / 0.6059 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/0.8639, allocations: 0.7343 MB / 0.6067 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009566/0.8649, allocations: 44.88 kB / 0.6067 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.8664, allocations: 172.6 kB / 0.6069 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.8667, allocations: 147.5 kB / 0.607 GB, free: 142.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.8668, allocations: 65.42 kB / 0.6071 GB, free: 142.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004067/0.8709, allocations: 2.503 MB / 0.6095 GB, free: 142 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8709, allocations: 0 / 0.6095 GB, free: 142 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008268/0.8791, allocations: 1.578 MB / 0.6111 GB, free: 142 MB / 458.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.0007379/0.8799, allocations: 215.2 kB / 0.6113 GB, free: 141.9 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.008113/0.888, allocations: 4.364 MB / 0.6155 GB, free: 141 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/0.888, allocations: 1.812 kB / 0.6155 GB, free: 141 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.8894, allocations: 1.109 MB / 0.6166 GB, free: 140.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/0.8938, allocations: 0.6751 MB / 0.6173 GB, free: 140.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.9163, allocations: 12.38 MB / 0.6294 GB, free: 132.2 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/0.9188, allocations: 2.047 MB / 0.6314 GB, free: 130.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004021/0.9229, allocations: 2.258 MB / 0.6336 GB, free: 129.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.9237, allocations: 346.3 kB / 0.6339 GB, free: 129.1 MB / 458.8 MB Notification: Performance of SimCode: time 2.926e-06/0.9237, allocations: 0 / 0.6339 GB, free: 129.1 MB / 458.8 MB Notification: Performance of Templates: time 0.06507/0.9888, allocations: 42.18 MB / 0.6751 GB, free: 87.59 MB / 458.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.17694189818576]