Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.3 MB / 236 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007713/0.0007712, allocations: 83.56 kB / 287 MB, free: 212 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1758/0.1758, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.915e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3826/0.4971, allocations: 108 MB / 0.6071 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.4974, allocations: 75.56 kB / 0.6072 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5517/1.049, allocations: 122.1 MB / 0.7264 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/1.049, allocations: 1.219 kB / 0.7264 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003471/1.049, allocations: 123.6 kB / 0.7265 GB, free: 110.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02076/1.07, allocations: 5.937 MB / 0.7323 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.07, allocations: 10.28 kB / 0.7323 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/1.098, allocations: 7.002 MB / 0.7392 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/1.115, allocations: 6.646 MB / 0.7457 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005656/1.116, allocations: 463.5 kB / 0.7461 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/1.119, allocations: 0.6043 MB / 0.7467 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/1.155, allocations: 15.09 MB / 0.7614 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004491/1.155, allocations: 83.53 kB / 0.7615 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002589/1.158, allocations: 292.5 kB / 0.7618 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/1.16, allocations: 1.366 MB / 0.7631 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02636/1.186, allocations: 12.37 MB / 0.7752 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06893/1.255, allocations: 64.8 MB / 0.8385 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/1.271, allocations: 7.08 MB / 0.8454 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/1.274, allocations: 3.305 MB / 0.8486 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/1.274, allocations: 40.7 kB / 0.8487 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.274, allocations: 67.77 kB / 0.8487 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 5.921e-06/1.275, allocations: 0 / 0.8487 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.06398/1.339, allocations: 25.39 MB / 0.8735 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/1.339, allocations: 217.9 kB / 0.8737 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008475/1.347, allocations: 5.325 MB / 0.8789 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006406/1.348, allocations: 65.61 kB / 0.879 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.35, allocations: 4.212 MB / 0.8831 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.351, allocations: 0.9846 MB / 0.8841 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/1.351, allocations: 150.9 kB / 0.8842 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002933/1.352, allocations: 0.6322 MB / 0.8848 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.355, allocations: 3.127 MB / 0.8879 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.361, allocations: 7.592 MB / 0.8953 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006775/1.368, allocations: 4.821 MB / 0.9 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.368, allocations: 47.94 kB / 0.9001 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.3036/1.672, allocations: 12 MB / 0.9118 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.672, allocations: 72.91 kB / 0.9119 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000287/1.672, allocations: 159.2 kB / 0.912 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004614/1.677, allocations: 1.663 MB / 0.9136 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007286/1.684, allocations: 1.829 MB / 0.9154 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/1.7, allocations: 11.34 MB / 0.9265 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006952/1.707, allocations: 466.3 kB / 0.9269 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/1.708, allocations: 466 kB / 0.9274 GB, free: 105.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 913 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001337/1.71, allocations: 0.6932 MB / 0.9281 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009963/1.711, allocations: 0.509 MB / 0.9286 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009945/1.721, allocations: 6.162 MB / 0.9346 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-05/1.721, allocations: 26.66 kB / 0.9346 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.721, allocations: 13.91 kB / 0.9346 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/1.721, allocations: 16.47 kB / 0.9346 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.744, allocations: 13.68 MB / 0.948 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.744, allocations: 2.062 kB / 0.948 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/1.746, allocations: 0.495 MB / 0.9485 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/1.75, allocations: 1.414 MB / 0.9499 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004998/1.75, allocations: 41.94 kB / 0.9499 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/1.762, allocations: 10.59 MB / 0.9602 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.762, allocations: 7.406 kB / 0.9602 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.775, allocations: 10.14 MB / 0.9701 GB, free: 95.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.777, allocations: 0.5914 MB / 0.9707 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000687/1.778, allocations: 46.19 kB / 0.9708 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.78, allocations: 210.9 kB / 0.971 GB, free: 94.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.781, allocations: 148.1 kB / 0.9711 GB, free: 94.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.781, allocations: 71.61 kB / 0.9712 GB, free: 94.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006976/1.788, allocations: 3.773 MB / 0.9749 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.52e-07/1.788, allocations: 0 / 0.9749 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006877/1.795, allocations: 1.47 MB / 0.9763 GB, free: 93.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 197 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004564/1.795, allocations: 201 kB / 0.9765 GB, free: 93.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009332/1.804, allocations: 7.794 MB / 0.9841 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.805, allocations: 0 / 0.9841 GB, free: 90.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004252/1.809, allocations: 3.177 MB / 0.9872 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.812, allocations: 0.6655 MB / 0.9878 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/1.829, allocations: 11.72 MB / 0.9993 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003767/1.833, allocations: 4.544 MB / 1.004 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005549/1.838, allocations: 2.587 MB / 1.006 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.84, allocations: 352.9 kB / 1.007 GB, free: 80.82 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/1.84, allocations: 0 / 1.007 GB, free: 80.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.08614/1.926, allocations: 57.54 MB / 1.063 GB, free: 33.71 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches