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.001749/0.001749, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.002043/0.002043, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2068/0.2068, allocations: 44.16 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 72.61 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3077/0.425, allocations: 52.46 MB / 0.5088 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02418/0.4492, allocations: 10.14 MB / 0.5187 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01139/0.4607, allocations: 218.8 kB / 0.5189 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.4655, allocations: 2.633 MB / 0.5215 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.4684, allocations: 1.155 MB / 0.5226 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.4692, allocations: 320.2 kB / 0.5229 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003856/0.4731, allocations: 3.88 MB / 0.5267 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.4762, allocations: 3.008 MB / 0.5296 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.4775, allocations: 0.9679 MB / 0.5306 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.479, allocations: 1.499 MB / 0.532 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.4794, allocations: 203 kB / 0.5322 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.4806, allocations: 0.7346 MB / 0.5329 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009623/0.4816, allocations: 1.347 MB / 0.5343 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.4827, allocations: 1.581 MB / 0.5358 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004364/0.4871, allocations: 5.106 MB / 0.5408 GB, free: 14.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.4871, allocations: 10.16 kB / 0.5408 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4871, allocations: 0 / 0.5408 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.4873, allocations: 0 / 0.5408 GB, free: 14.77 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.006285/0.4936, allocations: 3.399 MB / 0.5441 GB, free: 12.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4936, allocations: 10.69 kB / 0.5441 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005029/0.4987, allocations: 1.656 MB / 0.5457 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/0.502, allocations: 1.531 MB / 0.5472 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.5021, allocations: 184 kB / 0.5474 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/0.5026, allocations: 243.7 kB / 0.5476 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.5151, allocations: 7.484 MB / 0.5549 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.763e-05/0.5152, allocations: 15.88 kB / 0.555 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/0.5155, allocations: 115.3 kB / 0.5551 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/0.5179, allocations: 1.569 MB / 0.5566 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.5298, allocations: 6.26 MB / 0.5627 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03284/0.5627, allocations: 23.31 MB / 0.5855 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/0.5674, allocations: 2.203 MB / 0.5876 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009973/0.5685, allocations: 0.7698 MB / 0.5884 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006556/0.575, allocations: 3.884 MB / 0.5922 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5751, allocations: 43.06 kB / 0.5922 GB, free: 10.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.677e-06/0.5751, allocations: 0 / 0.5922 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006252/0.5814, allocations: 2.258 MB / 0.5944 GB, free: 8.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5814, allocations: 59.97 kB / 0.5945 GB, free: 8.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.5844, allocations: 2.097 MB / 0.5965 GB, free: 6.328 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.5845, allocations: 37.7 kB / 0.5966 GB, free: 6.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.586, allocations: 2.118 MB / 0.5986 GB, free: 4.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.5864, allocations: 348.2 kB / 0.599 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008514/0.5872, allocations: 0.6694 MB / 0.5996 GB, free: 3.148 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5874, allocations: 301.1 kB / 0.5999 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.5887, allocations: 0.9431 MB / 0.6008 GB, free: 1.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.5914, allocations: 2.916 MB / 0.6037 GB, free: 14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.5959, allocations: 4.214 MB / 0.6078 GB, free: 8.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-05/0.5959, allocations: 20 kB / 0.6078 GB, free: 8.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005642/0.6016, allocations: 3.749 MB / 0.6115 GB, free: 5.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.6017, allocations: 32 kB / 0.6115 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-05/0.6017, allocations: 75.94 kB / 0.6116 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.242e-05/0.6018, allocations: 92 kB / 0.6117 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.6037, allocations: 0.6946 MB / 0.6123 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-05/0.6038, allocations: 135.5 kB / 0.6125 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.6058, allocations: 451.2 kB / 0.6129 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.606, allocations: 203 kB / 0.6131 GB, free: 3.375 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.002611/0.6086, allocations: 1.566 MB / 0.6146 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.609, allocations: 177.6 kB / 0.6148 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.6094, allocations: 214.7 kB / 0.615 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.6094, allocations: 8 kB / 0.615 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.6094, allocations: 8 kB / 0.615 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.6094, allocations: 3.984 kB / 0.615 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/0.6173, allocations: 5.076 MB / 0.62 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.6173, allocations: 8.969 kB / 0.62 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.6178, allocations: 119.8 kB / 0.6201 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.6178, allocations: 8 kB / 0.6201 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.6179, allocations: 27.94 kB / 0.6201 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.117e-05/0.6179, allocations: 15.92 kB / 0.6201 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/0.6179, allocations: 15.94 kB / 0.6202 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.6195, allocations: 1.399 MB / 0.6215 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.6199, allocations: 286.3 kB / 0.6218 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.6201, allocations: 30.83 kB / 0.6218 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.6207, allocations: 39.81 kB / 0.6219 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6208, allocations: 59.81 kB / 0.6219 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.6208, allocations: 32 kB / 0.622 GB, free: 9.988 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002128/0.623, allocations: 1.48 MB / 0.6234 GB, free: 8.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.623, allocations: 0 / 0.6234 GB, free: 8.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003967/0.627, allocations: 0.8185 MB / 0.6242 GB, free: 7.668 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.0003767/0.6274, allocations: 150 kB / 0.6243 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003416/0.6308, allocations: 2.165 MB / 0.6265 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6308, allocations: 0.8125 kB / 0.6265 GB, free: 5.359 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.6314, allocations: 0.5001 MB / 0.6269 GB, free: 4.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.633, allocations: 285.7 kB / 0.6272 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.6454, allocations: 7.538 MB / 0.6346 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/0.6487, allocations: 2.604 MB / 0.6371 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003098/0.6519, allocations: 1.036 MB / 0.6381 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6523, allocations: 139.4 kB / 0.6383 GB, free: 9.109 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6523, allocations: 0 / 0.6383 GB, free: 9.109 MB / 494.1 MB Notification: Performance of Templates: time 0.0367/0.689, allocations: 16.14 MB / 0.654 GB, free: 9.039 MB / 0.4981 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/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