Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.242/2.242, allocations: 222.9 MB / 242.4 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4268/0.4268, allocations: 44.17 MB / 336.8 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002413/0.002412, allocations: 64.2 kB / 408.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1961, allocations: 60.85 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.5014/0.6976, allocations: 52.47 MB / 0.5094 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04193/0.7396, allocations: 10.13 MB / 0.5193 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01844/0.7581, allocations: 214.9 kB / 0.5195 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008504/0.7667, allocations: 2.627 MB / 0.5221 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.7725, allocations: 1.161 MB / 0.5232 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.7743, allocations: 320.1 kB / 0.5235 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009563/0.7839, allocations: 3.871 MB / 0.5273 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006697/0.7907, allocations: 3.023 MB / 0.5303 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.7937, allocations: 0.9667 MB / 0.5312 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.797, allocations: 1.498 MB / 0.5327 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009828/0.7981, allocations: 200.3 kB / 0.5329 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.8011, allocations: 0.7346 MB / 0.5336 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002928/0.804, allocations: 1.345 MB / 0.5349 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003475/0.8076, allocations: 1.577 MB / 0.5364 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00695/0.8146, allocations: 4.249 MB / 0.5406 GB, free: 15.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.8147, allocations: 0 / 0.5406 GB, free: 15.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.8147, allocations: 0 / 0.5406 GB, free: 15.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002606/0.815, allocations: 0 / 0.5406 GB, free: 15.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.01472/0.8297, allocations: 3.405 MB / 0.5439 GB, free: 13.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/0.8298, allocations: 9.594 kB / 0.5439 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.8403, allocations: 1.661 MB / 0.5455 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007425/0.8478, allocations: 1.523 MB / 0.547 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000368/0.8483, allocations: 181.3 kB / 0.5472 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.8503, allocations: 240.7 kB / 0.5474 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02651/0.8769, allocations: 7.496 MB / 0.5548 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/0.8772, allocations: 15.88 kB / 0.5548 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.8787, allocations: 110.6 kB / 0.5549 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004351/0.8831, allocations: 1.566 MB / 0.5564 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02121/0.9044, allocations: 6.258 MB / 0.5625 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05488/0.9594, allocations: 23.32 MB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/0.9665, allocations: 2.199 MB / 0.5874 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.9682, allocations: 0.7645 MB / 0.5882 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/0.9783, allocations: 3.897 MB / 0.592 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.9784, allocations: 39.06 kB / 0.592 GB, free: 11.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 6.302e-06/0.9784, allocations: 0 / 0.592 GB, free: 11.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.00975/0.9882, allocations: 2.255 MB / 0.5942 GB, free: 9.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.9883, allocations: 55.97 kB / 0.5943 GB, free: 9.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/0.9932, allocations: 2.105 MB / 0.5963 GB, free: 7.191 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.9934, allocations: 37.7 kB / 0.5964 GB, free: 7.148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002266/0.9957, allocations: 2.121 MB / 0.5984 GB, free: 5.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006102/0.9963, allocations: 339.1 kB / 0.5988 GB, free: 4.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.9977, allocations: 0.6657 MB / 0.5994 GB, free: 4.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9978, allocations: 301.1 kB / 0.5997 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.9998, allocations: 0.9431 MB / 0.6006 GB, free: 2.777 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003914/1.004, allocations: 2.92 MB / 0.6035 GB, free: 14.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006825/1.011, allocations: 4.212 MB / 0.6076 GB, free: 9.688 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-05/1.011, allocations: 20 kB / 0.6076 GB, free: 9.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01003/1.021, allocations: 3.748 MB / 0.6113 GB, free: 5.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/1.021, allocations: 36 kB / 0.6113 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.021, allocations: 68 kB / 0.6114 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/1.021, allocations: 92.75 kB / 0.6115 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/1.025, allocations: 0.7018 MB / 0.6121 GB, free: 5.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001912/1.025, allocations: 143.4 kB / 0.6123 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/1.029, allocations: 449.8 kB / 0.6127 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000572/1.029, allocations: 196 kB / 0.6129 GB, free: 4.242 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 383 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003783/1.033, allocations: 1.566 MB / 0.6144 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/1.033, allocations: 181.5 kB / 0.6146 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/1.034, allocations: 210.7 kB / 0.6148 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/1.034, allocations: 22.64 kB / 0.6148 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.034, allocations: 0 / 0.6148 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.034, allocations: 0 / 0.6148 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.046, allocations: 5.068 MB / 0.6198 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.046, allocations: 15.92 kB / 0.6198 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/1.046, allocations: 115.8 kB / 0.6199 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.096e-05/1.046, allocations: 12.06 kB / 0.6199 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/1.046, allocations: 31.92 kB / 0.6199 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.071e-05/1.046, allocations: 15.94 kB / 0.62 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.046, allocations: 8 kB / 0.62 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/1.049, allocations: 1.399 MB / 0.6213 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/1.05, allocations: 290.3 kB / 0.6216 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/1.05, allocations: 30.34 kB / 0.6216 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000875/1.051, allocations: 35.83 kB / 0.6217 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.051, allocations: 59.81 kB / 0.6217 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/1.051, allocations: 35.98 kB / 0.6218 GB, free: 10.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003117/1.054, allocations: 1.477 MB / 0.6232 GB, free: 9.359 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.054, allocations: 0 / 0.6232 GB, free: 9.359 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004857/1.059, allocations: 0.8154 MB / 0.624 GB, free: 8.543 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005191/1.06, allocations: 154.9 kB / 0.6241 GB, free: 8.383 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004818/1.065, allocations: 2.164 MB / 0.6263 GB, free: 6.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.065, allocations: 0 / 0.6263 GB, free: 6.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009157/1.065, allocations: 0.496 MB / 0.6267 GB, free: 5.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.068, allocations: 284.2 kB / 0.627 GB, free: 5.461 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.086, allocations: 7.925 MB / 0.6348 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004689/1.091, allocations: 2.608 MB / 0.6373 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/1.091, allocations: 155.4 kB / 0.6374 GB, free: 10.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/1.091, allocations: 0 / 0.6374 GB, free: 10.62 MB / 494.1 MB Notification: Performance of Templates: time 0.08125/1.173, allocations: 34.75 MB / 0.6714 GB, free: 7.918 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches