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.001151/0.001151, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.00113/0.00113, allocations: 95.47 kB / 281.6 MB, free: 5.328 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.1811/0.1811, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.502e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5333, allocations: 107.5 MB / 0.5997 GB, free: 5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5336, allocations: 75.97 kB / 0.5997 GB, free: 4.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6915/1.225, allocations: 106 MB / 0.7032 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/1.225, allocations: 0.9688 kB / 0.7032 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002731/1.225, allocations: 98.86 kB / 0.7033 GB, free: 105.7 MB / 0.4948 GB 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.0177/1.243, allocations: 5.155 MB / 0.7084 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.243, allocations: 12.92 kB / 0.7084 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02981/1.273, allocations: 6.88 MB / 0.7151 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/1.292, allocations: 6.379 MB / 0.7213 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/1.293, allocations: 167.2 kB / 0.7215 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/1.295, allocations: 302.7 kB / 0.7218 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01293/1.308, allocations: 6.797 MB / 0.7284 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/1.329, allocations: 10.88 MB / 0.739 GB, free: 99.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/1.329, allocations: 80.56 kB / 0.7391 GB, free: 99.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008657/1.33, allocations: 35.31 kB / 0.7391 GB, free: 99.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001241/1.331, allocations: 1.13 MB / 0.7403 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/1.376, allocations: 54.44 MB / 0.7934 GB, free: 59.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/1.38, allocations: 3.098 MB / 0.7964 GB, free: 58.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/1.381, allocations: 1.807 MB / 0.7982 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/1.381, allocations: 31.22 kB / 0.7982 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.381, allocations: 44.98 kB / 0.7983 GB, free: 57.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=147): time 4.208e-06/1.381, allocations: 6.906 kB / 0.7983 GB, free: 57.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=161): time 0.02746/1.409, allocations: 16.75 MB / 0.8146 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.409, allocations: 226.2 kB / 0.8149 GB, free: 48.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00566/1.415, allocations: 3.944 MB / 0.8187 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003347/1.415, allocations: 25.7 kB / 0.8187 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001827/1.417, allocations: 3.944 MB / 0.8226 GB, free: 41.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/1.417, allocations: 0.6392 MB / 0.8232 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.418, allocations: 0 / 0.8232 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002772/1.418, allocations: 0.5962 MB / 0.8238 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/1.42, allocations: 1.879 MB / 0.8256 GB, free: 39.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/1.424, allocations: 6.264 MB / 0.8317 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003593/1.427, allocations: 3.42 MB / 0.8351 GB, free: 28.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.642e-05/1.427, allocations: 48 kB / 0.8351 GB, free: 27.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01074/1.438, allocations: 7.492 MB / 0.8424 GB, free: 21.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/1.438, allocations: 74.31 kB / 0.8425 GB, free: 21.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/1.438, allocations: 163.3 kB / 0.8427 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/1.44, allocations: 0.5969 MB / 0.8433 GB, free: 20.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/1.444, allocations: 1.552 MB / 0.8448 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/1.449, allocations: 5.506 MB / 0.8501 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/1.454, allocations: 224 kB / 0.8504 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/1.454, allocations: 426.6 kB / 0.8508 GB, free: 13.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 836 * 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.0008006/1.455, allocations: 0.5053 MB / 0.8513 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/1.456, allocations: 398.8 kB / 0.8516 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/1.459, allocations: 2.233 MB / 0.8538 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.459, allocations: 20 kB / 0.8538 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.459, allocations: 4 kB / 0.8538 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.459, allocations: 6.844 kB / 0.8539 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009954/1.469, allocations: 6.363 MB / 0.8601 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.469, allocations: 0 / 0.8601 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.47, allocations: 221.7 kB / 0.8603 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009099/1.471, allocations: 355.2 kB / 0.8606 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.471, allocations: 4 kB / 0.8606 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004102/1.476, allocations: 4.84 MB / 0.8653 GB, free: 484 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.476, allocations: 3.938 kB / 0.8653 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/1.482, allocations: 4.565 MB / 0.8698 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.483, allocations: 442.1 kB / 0.8702 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/1.484, allocations: 7.188 kB / 0.8702 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.485, allocations: 43.94 kB / 0.8703 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/1.485, allocations: 91.55 kB / 0.8704 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.485, allocations: 47.23 kB / 0.8704 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005106/1.49, allocations: 2.656 MB / 0.873 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.9e-07/1.491, allocations: 0 / 0.873 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006206/1.497, allocations: 0.957 MB / 0.8739 GB, free: 8.527 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 114 * 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.0004485/1.497, allocations: 144.6 kB / 0.8741 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007633/1.505, allocations: 4.673 MB / 0.8786 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.505, allocations: 0 / 0.8786 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/1.507, allocations: 1.369 MB / 0.88 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.51, allocations: 492.6 kB / 0.8804 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.526, allocations: 8.553 MB / 0.8888 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/1.53, allocations: 3.979 MB / 0.8927 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005405/1.536, allocations: 2.164 MB / 0.8948 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/1.536, allocations: 271.4 kB / 0.8951 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/1.536, allocations: 0 / 0.8951 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.4222/1.959, allocations: 32.54 MB / 0.9268 GB, free: 116.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