Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.244/1.244, allocations: 223.2 MB / 241 MB, free: 10.17 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.0007502/0.0007501, allocations: 90.78 kB / 292.2 MB, free: 10.71 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.3112/0.3112, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4318, allocations: 107.4 MB / 0.6144 GB, free: 3.742 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4321, allocations: 83.95 kB / 0.6145 GB, free: 3.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6394/1.071, allocations: 175 MB / 0.7854 GB, free: 59.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.072, allocations: 8 kB / 0.7854 GB, free: 59.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003724/1.072, allocations: 179.9 kB / 0.7856 GB, free: 59.42 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02643/1.098, allocations: 8.982 MB / 0.7944 GB, free: 50.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.098, allocations: 12.02 kB / 0.7944 GB, free: 50.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/1.117, allocations: 3.779 MB / 0.7981 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/1.139, allocations: 9.472 MB / 0.8073 GB, free: 36.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006051/1.139, allocations: 0.6782 MB / 0.808 GB, free: 36.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004467/1.144, allocations: 0.9099 MB / 0.8089 GB, free: 35.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04615/1.19, allocations: 21.3 MB / 0.8297 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003762/1.19, allocations: 103 kB / 0.8298 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/1.193, allocations: 427.8 kB / 0.8302 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002386/1.195, allocations: 1.862 MB / 0.832 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03547/1.231, allocations: 16.71 MB / 0.8483 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6153/1.846, allocations: 83.65 MB / 0.93 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01791/1.864, allocations: 6.396 MB / 0.9363 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/1.887, allocations: 10.95 MB / 0.9469 GB, free: 42.24 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/1.887, allocations: 61.59 kB / 0.947 GB, free: 42.2 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=212): time 4.699e-06/1.887, allocations: 0 / 0.947 GB, free: 42.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=236): time 0.04784/1.935, allocations: 17.1 MB / 0.9637 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.935, allocations: 154.8 kB / 0.9638 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/1.946, allocations: 6.058 MB / 0.9698 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004956/1.947, allocations: 62.11 kB / 0.9698 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004601/1.951, allocations: 6.039 MB / 0.9757 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.952, allocations: 0.9321 MB / 0.9766 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006134/1.953, allocations: 172.4 kB / 0.9768 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004743/1.954, allocations: 0.6791 MB / 0.9775 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004088/1.958, allocations: 2.488 MB / 0.9799 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007103/1.965, allocations: 8.231 MB / 0.9879 GB, free: 24.58 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00722/1.972, allocations: 4.378 MB / 0.9922 GB, free: 23.46 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002326/1.972, allocations: 58.22 kB / 0.9923 GB, free: 23.46 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02194/1.994, allocations: 10.38 MB / 1.002 GB, free: 20.16 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.994, allocations: 91.22 kB / 1.002 GB, free: 20.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/1.995, allocations: 208.5 kB / 1.003 GB, free: 20.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/1.995, allocations: 298.2 kB / 1.003 GB, free: 20.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007905/2.003, allocations: 2.157 MB / 1.005 GB, free: 19.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003148/2.003, allocations: 402.1 kB / 1.005 GB, free: 19.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008233/2.012, allocations: 0.6028 MB / 1.006 GB, free: 19.64 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/2.013, allocations: 0.5516 MB / 1.007 GB, free: 19.57 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1129): * Single equations (assignments): 1126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008156/2.021, allocations: 3.948 MB / 1.01 GB, free: 17.81 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/2.022, allocations: 0.5808 MB / 1.011 GB, free: 17.49 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/2.024, allocations: 0.7084 MB / 1.012 GB, free: 17.14 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/2.024, allocations: 27.25 kB / 1.012 GB, free: 17.13 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.067e-05/2.024, allocations: 0 / 1.012 GB, free: 17.13 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/2.024, allocations: 15.08 kB / 1.012 GB, free: 17.13 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/2.054, allocations: 19.5 MB / 1.031 GB, free: 7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.704e-05/2.054, allocations: 52 kB / 1.031 GB, free: 6.949 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/2.056, allocations: 0.5082 MB / 1.031 GB, free: 6.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.521e-05/2.056, allocations: 78.72 kB / 1.031 GB, free: 6.426 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/2.056, allocations: 115.1 kB / 1.032 GB, free: 6.316 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-05/2.056, allocations: 102.1 kB / 1.032 GB, free: 6.227 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.092e-05/2.056, allocations: 88.94 kB / 1.032 GB, free: 6.141 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009574/2.066, allocations: 14.69 MB / 1.046 GB, free: 5.727 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/2.068, allocations: 0.6856 MB / 1.047 GB, free: 5.047 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/2.069, allocations: 130.6 kB / 1.047 GB, free: 4.934 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/2.071, allocations: 188.7 kB / 1.047 GB, free: 4.785 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/2.071, allocations: 361.4 kB / 1.047 GB, free: 4.496 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/2.072, allocations: 155.3 kB / 1.048 GB, free: 4.352 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.008548/2.08, allocations: 4.266 MB / 1.052 GB, free: 0.9023 MB / 0.5418 GB Notification: Performance of sort global known variables: time 7.31e-07/2.08, allocations: 0 / 1.052 GB, free: 0.9023 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01439/2.095, allocations: 1.867 MB / 1.053 GB, free: 0 / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * 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 (272): * Single equations (assignments): 269 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009822/2.096, allocations: 306.9 kB / 1.054 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01047/2.106, allocations: 5.764 MB / 1.059 GB, free: 10.66 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.771e-05/2.106, allocations: 8 kB / 1.059 GB, free: 10.66 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/2.108, allocations: 1.343 MB / 1.061 GB, free: 9.484 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/2.114, allocations: 0.9648 MB / 1.062 GB, free: 8.695 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04745/2.162, allocations: 21.44 MB / 1.083 GB, free: 4.016 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3647/2.527, allocations: 6.462 MB / 1.089 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01089/2.537, allocations: 2.783 MB / 1.092 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/2.539, allocations: 401.3 kB / 1.092 GB, free: 133.6 MB / 0.573 GB Notification: Performance of SimCode: time 2.094e-06/2.539, allocations: 0 / 1.092 GB, free: 133.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1072/2.646, allocations: 47.09 MB / 1.138 GB, free: 131.3 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches