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.001023/0.001023, allocations: 83.69 kB / 21.7 MB, free: 2.848 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.001072/0.001072, allocations: 161 kB / 24.99 MB, free: 8.801 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 1.13/1.13, allocations: 177 MB / 205.2 MB, free: 5.598 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.3113/0.3113, allocations: 34.87 MB / 296.6 MB, free: 492 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.024e-06/2.024e-06, allocations: 0 / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.219e-05, allocations: 6.25 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.012/0.01203, allocations: 14.82 MB / 393.6 MB, free: 3.492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009809/0.02184, allocations: 4.978 MB / 398.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.02577, allocations: 127.4 kB / 398.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008027/0.0338, allocations: 5.35 MB / 404.1 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006879/0.04068, allocations: 2.682 MB / 406.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.04373, allocations: 1.392 MB / 408.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00919/0.05292, allocations: 9.063 MB / 417.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006234/0.05915, allocations: 5.659 MB / 422.9 MB, free: 6.094 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/0.06528, allocations: 3.933 MB / 426.8 MB, free: 2.152 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/0.07057, allocations: 3.944 MB / 430.7 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.07268, allocations: 0.5547 MB / 431.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.07575, allocations: 1.521 MB / 432.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003839/0.07959, allocations: 3.409 MB / 436.2 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004041/0.08363, allocations: 2.095 MB / 438.3 MB, free: 6.602 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1979/0.2815, allocations: 7.038 MB / 445.3 MB, free: 68.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2815, allocations: 0 / 445.3 MB, free: 68.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2815, allocations: 0 / 445.3 MB, free: 68.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003614/0.2819, allocations: 0 / 445.3 MB, free: 68.36 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.01245/0.2943, allocations: 8.233 MB / 453.6 MB, free: 65.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2944, allocations: 8.656 kB / 453.6 MB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009591/0.304, allocations: 3.757 MB / 457.3 MB, free: 64.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008288/0.3123, allocations: 4.237 MB / 461.6 MB, free: 64.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/0.3126, allocations: 361.9 kB / 461.9 MB, free: 64.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.3144, allocations: 488.3 kB / 462.4 MB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.3289, allocations: 9.011 MB / 471.4 MB, free: 59.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/0.3291, allocations: 81.62 kB / 471.5 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007008/0.3298, allocations: 227.4 kB / 471.7 MB, free: 59.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/0.3323, allocations: 2.545 MB / 474.3 MB, free: 59.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.3444, allocations: 4.761 MB / 479 MB, free: 59.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0507/0.3951, allocations: 62.03 MB / 0.5284 GB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006522/0.4016, allocations: 2.371 MB / 0.5307 GB, free: 23.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.4031, allocations: 0.8711 MB / 0.5315 GB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.4032, allocations: 39.31 kB / 0.5316 GB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4033, allocations: 56.55 kB / 0.5316 GB, free: 23.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=186): time 5.13e-06/0.4033, allocations: 0 / 0.5316 GB, free: 23.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.03697/0.4402, allocations: 17.45 MB / 0.5487 GB, free: 11.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.4404, allocations: 252.8 kB / 0.5489 GB, free: 11.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007439/0.4478, allocations: 5.202 MB / 0.554 GB, free: 5.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006072/0.4484, allocations: 53.7 kB / 0.554 GB, free: 5.816 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003427/0.4518, allocations: 4.88 MB / 0.5588 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001367/0.4532, allocations: 0.8813 MB / 0.5597 GB, free: 104 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001742/0.455, allocations: 1.778 MB / 0.5614 GB, free: 14.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4551, allocations: 478.2 kB / 0.5619 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.4568, allocations: 0.9215 MB / 0.5628 GB, free: 12.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005493/0.4623, allocations: 8.245 MB / 0.5708 GB, free: 1.391 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008464/0.4707, allocations: 9.991 MB / 0.5806 GB, free: 4.395 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/0.4709, allocations: 48 kB / 0.5806 GB, free: 4.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01665/0.4875, allocations: 7.892 MB / 0.5883 GB, free: 12.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4876, allocations: 80 kB / 0.5884 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/0.4878, allocations: 173.6 kB / 0.5886 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003222/0.491, allocations: 1.141 MB / 0.5897 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004882/0.4959, allocations: 1.836 MB / 0.5915 GB, free: 9.199 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009211/0.5051, allocations: 8.806 MB / 0.6001 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/0.5106, allocations: 0.528 MB / 0.6006 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/0.5123, allocations: 498.9 kB / 0.6011 GB, free: 15.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (987): * Single equations (assignments): 981 * 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.002922/0.5152, allocations: 0.8204 MB / 0.6019 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/0.5163, allocations: 0.5359 MB / 0.6024 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.5204, allocations: 2.445 MB / 0.6048 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/0.5204, allocations: 27.94 kB / 0.6048 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.5204, allocations: 8 kB / 0.6048 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.5204, allocations: 7.969 kB / 0.6048 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.5337, allocations: 7.603 MB / 0.6122 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.5337, allocations: 4 kB / 0.6123 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.5347, allocations: 323.5 kB / 0.6126 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/0.5371, allocations: 0.8768 MB / 0.6134 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001791/0.5372, allocations: 39.66 kB / 0.6135 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2033/0.7406, allocations: 8.087 MB / 0.6214 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7406, allocations: 2.781 kB / 0.6214 GB, free: 148.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/0.7466, allocations: 3.669 MB / 0.6249 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.7481, allocations: 0.4986 MB / 0.6254 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005569/0.7487, allocations: 31.59 kB / 0.6255 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.7501, allocations: 221.4 kB / 0.6257 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/0.7505, allocations: 130.8 kB / 0.6258 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.7506, allocations: 55.89 kB / 0.6258 GB, free: 147.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003216/0.7538, allocations: 2.291 MB / 0.6281 GB, free: 147.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7538, allocations: 0 / 0.6281 GB, free: 147.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00518/0.759, allocations: 1.66 MB / 0.6297 GB, free: 147.6 MB / 490.7 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 (153): * Single equations (assignments): 147 * 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.0004527/0.7595, allocations: 185.5 kB / 0.6299 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005914/0.7654, allocations: 4.412 MB / 0.6342 GB, free: 146.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7654, allocations: 0 / 0.6342 GB, free: 146.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.7668, allocations: 1.356 MB / 0.6355 GB, free: 145.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/0.7703, allocations: 0.6777 MB / 0.6362 GB, free: 145.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.7888, allocations: 11.09 MB / 0.647 GB, free: 141.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00369/0.7925, allocations: 1.845 MB / 0.6488 GB, free: 141.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0047/0.7972, allocations: 2.041 MB / 0.6508 GB, free: 141 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.7983, allocations: 320.9 kB / 0.6511 GB, free: 141 MB / 490.7 MB Notification: Performance of SimCode: time 2.195e-06/0.7983, allocations: 0 / 0.6511 GB, free: 141 MB / 490.7 MB Notification: Performance of Templates: time 0.07111/0.8694, allocations: 50 MB / 0.6999 GB, free: 105.5 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: 5.239122975850478]