Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 114.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001832, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 79.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3076, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01619/0.3238, allocations: 15.51 MB / 0.5468 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009791/0.3336, allocations: 4.936 MB / 0.5516 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.336, allocations: 107.7 kB / 0.5517 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008712/0.3447, allocations: 4.988 MB / 0.5566 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006015/0.3508, allocations: 2.477 MB / 0.559 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.3529, allocations: 1.072 MB / 0.5601 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008396/0.3613, allocations: 6.837 MB / 0.5668 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005961/0.3673, allocations: 5.762 MB / 0.5724 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.3704, allocations: 2.387 MB / 0.5747 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/0.3746, allocations: 3.205 MB / 0.5779 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.3761, allocations: 0.5 MB / 0.5783 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.3792, allocations: 1.385 MB / 0.5797 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.3821, allocations: 2.996 MB / 0.5826 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.3854, allocations: 3.332 MB / 0.5859 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009849/0.3953, allocations: 10.34 MB / 0.596 GB, free: 15.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3953, allocations: 0 / 0.596 GB, free: 15.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3953, allocations: 4 kB / 0.596 GB, free: 15.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.3955, allocations: 0 / 0.596 GB, free: 15.79 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01272/0.4082, allocations: 7.393 MB / 0.6032 GB, free: 8.309 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4082, allocations: 12.03 kB / 0.6032 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.4195, allocations: 2.71 MB / 0.6058 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00786/0.4274, allocations: 4.273 MB / 0.61 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.4276, allocations: 353.6 kB / 0.6104 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008528/0.4285, allocations: 483.6 kB / 0.6108 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/0.4518, allocations: 14.25 MB / 0.6247 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.452, allocations: 63.45 kB / 0.6248 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005579/0.4526, allocations: 223.8 kB / 0.625 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004715/0.4573, allocations: 2.699 MB / 0.6276 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.4794, allocations: 12.05 MB / 0.6394 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06432/0.5438, allocations: 57.31 MB / 0.6954 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01482/0.5587, allocations: 6.288 MB / 0.7015 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004559/0.5632, allocations: 3.715 MB / 0.7051 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/0.5773, allocations: 8.519 MB / 0.7135 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.5774, allocations: 64.16 kB / 0.7135 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 5.74e-06/0.5774, allocations: 0 / 0.7135 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=278): time 0.3172/0.8945, allocations: 30.31 MB / 0.7431 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.8946, allocations: 234.5 kB / 0.7433 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007188/0.9018, allocations: 6.688 MB / 0.7499 GB, free: 150 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004777/0.9023, allocations: 65.7 kB / 0.7499 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/0.9044, allocations: 4.414 MB / 0.7543 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.9055, allocations: 1.069 MB / 0.7553 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001989/0.9075, allocations: 1.788 MB / 0.757 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.9076, allocations: 301.1 kB / 0.7573 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.9115, allocations: 3.581 MB / 0.7608 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005588/0.9171, allocations: 8.637 MB / 0.7693 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.9276, allocations: 13.13 MB / 0.7821 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.871e-05/0.9277, allocations: 48 kB / 0.7821 GB, free: 112 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.02063/0.9483, allocations: 14 MB / 0.7958 GB, free: 98.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.9484, allocations: 80 kB / 0.7959 GB, free: 97.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/0.9486, allocations: 176 kB / 0.796 GB, free: 97.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005019/0.9536, allocations: 2.292 MB / 0.7983 GB, free: 95.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006362/0.96, allocations: 2 MB / 0.8002 GB, free: 93.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.9749, allocations: 14.34 MB / 0.8142 GB, free: 78.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/0.9815, allocations: 0.507 MB / 0.8147 GB, free: 78.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/0.9829, allocations: 0.5231 MB / 0.8153 GB, free: 77.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004841/0.9877, allocations: 2.976 MB / 0.8182 GB, free: 74.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.9889, allocations: 0.5593 MB / 0.8187 GB, free: 74.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.001, allocations: 7.075 MB / 0.8256 GB, free: 67.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/1.001, allocations: 15.89 kB / 0.8256 GB, free: 67.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.001, allocations: 4 kB / 0.8256 GB, free: 67.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.002, allocations: 0.6148 MB / 0.8262 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.004, allocations: 44 kB / 0.8263 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.006, allocations: 203.6 kB / 0.8265 GB, free: 66.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004632/1.007, allocations: 189.6 kB / 0.8267 GB, free: 66.09 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0113/1.018, allocations: 7.411 MB / 0.8339 GB, free: 58.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009586/1.028, allocations: 9.229 MB / 0.8429 GB, free: 49.43 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002513/1.03, allocations: 2.491 MB / 0.8453 GB, free: 46.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006052/1.036, allocations: 4.248 MB / 0.8495 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of Backend: time 2.2e-07/1.036, allocations: 0 / 0.8495 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.049, allocations: 6.737 MB / 0.8561 GB, free: 35.99 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02023/1.069, allocations: 13.9 MB / 0.8696 GB, free: 22.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.1279/1.197, allocations: 75.59 MB / 0.9435 GB, free: 10.88 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches