Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001765/0.001765, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002054, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.464/2.464, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3979/0.3979, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5221, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.02904/0.5512, allocations: 13.66 MB / 0.545 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01809/0.5693, allocations: 4.733 MB / 0.5496 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004101/0.5735, allocations: 91.28 kB / 0.5497 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0144/0.588, allocations: 4.459 MB / 0.5541 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009901/0.5979, allocations: 2.264 MB / 0.5563 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.6028, allocations: 1.146 MB / 0.5574 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01494/0.6178, allocations: 6.35 MB / 0.5636 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.6293, allocations: 5.542 MB / 0.569 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.635, allocations: 2.232 MB / 0.5712 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007851/0.6429, allocations: 2.944 MB / 0.5741 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002394/0.6453, allocations: 0.4922 MB / 0.5746 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005712/0.6511, allocations: 1.498 MB / 0.576 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005594/0.6567, allocations: 2.704 MB / 0.5787 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006855/0.6636, allocations: 3.065 MB / 0.5817 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01795/0.6816, allocations: 9.744 MB / 0.5912 GB, free: 4.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6817, allocations: 0 / 0.5912 GB, free: 4.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6817, allocations: 0 / 0.5912 GB, free: 4.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003415/0.6821, allocations: 0 / 0.5912 GB, free: 4.586 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.02474/0.7068, allocations: 6.857 MB / 0.5979 GB, free: 13.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.7069, allocations: 9.109 kB / 0.5979 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02305/0.73, allocations: 2.606 MB / 0.6004 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/0.7452, allocations: 3.899 MB / 0.6042 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/0.7457, allocations: 333 kB / 0.6045 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.7481, allocations: 459.8 kB / 0.605 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04741/0.7955, allocations: 13.99 MB / 0.6186 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003127/0.7959, allocations: 59.52 kB / 0.6187 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00139/0.7973, allocations: 211.8 kB / 0.6189 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009345/0.8067, allocations: 2.539 MB / 0.6214 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04788/0.8546, allocations: 12.14 MB / 0.6332 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1161/0.9707, allocations: 51.77 MB / 0.6838 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03238/1.003, allocations: 6.237 MB / 0.6899 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009481/1.013, allocations: 3.858 MB / 0.6936 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03888/1.052, allocations: 13.24 MB / 0.7066 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.525e-05/1.052, allocations: 64.5 kB / 0.7066 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 1.041e-05/1.052, allocations: 0 / 0.7066 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.538/1.59, allocations: 29.72 MB / 0.7357 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/1.59, allocations: 215.8 kB / 0.7359 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.601, allocations: 4.956 MB / 0.7407 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008826/1.602, allocations: 70.17 kB / 0.7408 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003335/1.606, allocations: 3.946 MB / 0.7446 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.607, allocations: 1.059 MB / 0.7457 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003219/1.611, allocations: 1.525 MB / 0.7472 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/1.611, allocations: 311.7 kB / 0.7474 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008503/1.619, allocations: 3.284 MB / 0.7507 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.63, allocations: 7.352 MB / 0.7578 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/1.65, allocations: 11.39 MB / 0.769 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.651, allocations: 40 kB / 0.769 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.03849/1.689, allocations: 12.51 MB / 0.7812 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.689, allocations: 72.25 kB / 0.7813 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/1.69, allocations: 140 kB / 0.7814 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.7, allocations: 2.241 MB / 0.7836 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.711, allocations: 1.693 MB / 0.7853 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02974/1.74, allocations: 14.4 MB / 0.7993 GB, free: 95.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/1.751, allocations: 447.3 kB / 0.7998 GB, free: 94.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/1.753, allocations: 431 kB / 0.8002 GB, free: 94.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (888): * Single equations (assignments): 883 * Array equations: 3 * 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.007132/1.76, allocations: 2.692 MB / 0.8028 GB, free: 91.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.762, allocations: 480.8 kB / 0.8033 GB, free: 91.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02095/1.783, allocations: 6.988 MB / 0.8101 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-05/1.783, allocations: 11.95 kB / 0.8101 GB, free: 84.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.783, allocations: 4 kB / 0.8101 GB, free: 84.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.785, allocations: 0.5134 MB / 0.8106 GB, free: 83.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.786, allocations: 40 kB / 0.8106 GB, free: 83.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004836/1.791, allocations: 211.7 kB / 0.8108 GB, free: 83.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/1.792, allocations: 197.6 kB / 0.811 GB, free: 83.36 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0276/1.82, allocations: 7.39 MB / 0.8182 GB, free: 76.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0196/1.839, allocations: 9.158 MB / 0.8272 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005598/1.845, allocations: 2.526 MB / 0.8296 GB, free: 64.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007557/1.853, allocations: 3.11 MB / 0.8327 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of Backend: time 1.884e-06/1.853, allocations: 0 / 0.8327 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02016/1.873, allocations: 6.091 MB / 0.8386 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of SimCode: time 0.03034/1.903, allocations: 12.63 MB / 0.851 GB, free: 42.43 MB / 0.5606 GB Notification: Performance of Templates: time 1.665/3.568, allocations: 70.63 MB / 0.9199 GB, free: 4.082 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches