Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001074, allocations: 178.4 kB / 17.06 MB, free: 5.094 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.287/1.287, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 103.2 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3719/0.3719, allocations: 44.21 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3181, allocations: 61.9 MB / 0.5096 GB, free: 38.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.4547, allocations: 108.2 MB / 0.6153 GB, free: 2.883 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.455, allocations: 87.95 kB / 0.6153 GB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5104/0.9654, allocations: 108.1 MB / 0.7209 GB, free: 95.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.9655, allocations: 4 kB / 0.7209 GB, free: 95.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007905/0.9663, allocations: 99.06 kB / 0.721 GB, free: 95.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02199/0.9883, allocations: 5.615 MB / 0.7265 GB, free: 92.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.9884, allocations: 7.781 kB / 0.7265 GB, free: 92.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/1.014, allocations: 6.872 MB / 0.7332 GB, free: 91.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01887/1.033, allocations: 6.418 MB / 0.7395 GB, free: 89.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006265/1.034, allocations: 384.7 kB / 0.7399 GB, free: 89.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/1.037, allocations: 0.5003 MB / 0.7404 GB, free: 89.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/1.067, allocations: 12.42 MB / 0.7525 GB, free: 82.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000421/1.068, allocations: 79.69 kB / 0.7526 GB, free: 82.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00235/1.07, allocations: 249.2 kB / 0.7528 GB, free: 82.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/1.072, allocations: 1.133 MB / 0.7539 GB, free: 82.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/1.092, allocations: 9.813 MB / 0.7635 GB, free: 79.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05729/1.149, allocations: 56.39 MB / 0.8186 GB, free: 22.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009234/1.158, allocations: 4.279 MB / 0.8227 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009642/1.168, allocations: 5.638 MB / 0.8283 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/1.168, allocations: 55.39 kB / 0.8283 GB, free: 12.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 3.817e-06/1.168, allocations: 0 / 0.8283 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.03344/1.202, allocations: 15.03 MB / 0.843 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.202, allocations: 222.2 kB / 0.8432 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009759/1.212, allocations: 5.018 MB / 0.8481 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/1.212, allocations: 53.64 kB / 0.8481 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003583/1.216, allocations: 3.862 MB / 0.8519 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008914/1.216, allocations: 0.6536 MB / 0.8526 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006244/1.217, allocations: 132 kB / 0.8527 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005969/1.218, allocations: 0.5869 MB / 0.8533 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/1.221, allocations: 1.973 MB / 0.8552 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00645/1.228, allocations: 6.242 MB / 0.8613 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005072/1.233, allocations: 3.459 MB / 0.8647 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.862e-05/1.233, allocations: 44 kB / 0.8647 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01453/1.248, allocations: 8.353 MB / 0.8729 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.248, allocations: 68 kB / 0.8729 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/1.248, allocations: 156 kB / 0.8731 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.249, allocations: 0.5967 MB / 0.8736 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004597/1.254, allocations: 1.493 MB / 0.8751 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006392/1.26, allocations: 5.82 MB / 0.8808 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004672/1.265, allocations: 347.7 kB / 0.8811 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008872/1.266, allocations: 415.9 kB / 0.8815 GB, free: 3.492 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 804 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004776/1.271, allocations: 2.525 MB / 0.884 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009453/1.272, allocations: 465.9 kB / 0.8844 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2176/1.489, allocations: 2.425 MB / 0.8868 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/1.489, allocations: 20.78 kB / 0.8868 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.489, allocations: 7.688 kB / 0.8868 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.489, allocations: 6.562 kB / 0.8868 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.502, allocations: 7.242 MB / 0.8939 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.502, allocations: 2.594 kB / 0.8939 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/1.503, allocations: 251.9 kB / 0.8941 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009062/1.504, allocations: 362.9 kB / 0.8945 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.611e-05/1.504, allocations: 28.56 kB / 0.8945 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/1.509, allocations: 5.157 MB / 0.8996 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.509, allocations: 2.719 kB / 0.8996 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005727/1.514, allocations: 5.117 MB / 0.9046 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.516, allocations: 0.5243 MB / 0.9051 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/1.516, allocations: 27.69 kB / 0.9051 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.518, allocations: 70.42 kB / 0.9052 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/1.518, allocations: 97.23 kB / 0.9053 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/1.518, allocations: 47.8 kB / 0.9053 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005371/1.523, allocations: 3.59 MB / 0.9088 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/1.523, allocations: 0 / 0.9088 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006195/1.529, allocations: 1.111 MB / 0.9099 GB, free: 120.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004624/1.53, allocations: 165.8 kB / 0.91 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007088/1.537, allocations: 4.974 MB / 0.9149 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.537, allocations: 0 / 0.9149 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/1.539, allocations: 1.404 MB / 0.9163 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.542, allocations: 0.6001 MB / 0.9169 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.562, allocations: 12.51 MB / 0.9291 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005136/1.567, allocations: 3.973 MB / 0.933 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005268/1.572, allocations: 2.14 MB / 0.9351 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006978/1.573, allocations: 287.8 kB / 0.9353 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/1.573, allocations: 4 kB / 0.9353 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.06721/1.64, allocations: 39.99 MB / 0.9744 GB, free: 103.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches