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.001988/0.001988, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.002049/0.002049, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2117/0.2117, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.441, allocations: 60.81 MB / 0.5189 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01292/0.454, allocations: 10.52 MB / 0.5292 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.4628, allocations: 3.1 MB / 0.5322 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.4651, allocations: 56.12 kB / 0.5322 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005177/0.4703, allocations: 2.618 MB / 0.5348 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.474, allocations: 1.248 MB / 0.536 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4751, allocations: 353.8 kB / 0.5364 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.4799, allocations: 2.6 MB / 0.5389 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/0.4852, allocations: 3.024 MB / 0.5418 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.4877, allocations: 1.095 MB / 0.5429 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002869/0.4906, allocations: 1.417 MB / 0.5443 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.4917, allocations: 260 kB / 0.5445 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.4941, allocations: 0.7568 MB / 0.5453 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.4959, allocations: 1.407 MB / 0.5467 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.4982, allocations: 1.631 MB / 0.5483 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.5042, allocations: 5.353 MB / 0.5535 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.5043, allocations: 4 kB / 0.5535 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5043, allocations: 0 / 0.5535 GB, free: 8.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.031e-05/0.5044, allocations: 0 / 0.5535 GB, free: 8.695 MB / 414.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.006033/0.5104, allocations: 3.399 MB / 0.5568 GB, free: 5.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5105, allocations: 8.031 kB / 0.5568 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/0.5159, allocations: 1.662 MB / 0.5584 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.5186, allocations: 1.543 MB / 0.5599 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.5187, allocations: 185 kB / 0.5601 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.5191, allocations: 243.8 kB / 0.5604 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.5317, allocations: 7.485 MB / 0.5677 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.5318, allocations: 15.88 kB / 0.5677 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.5321, allocations: 115.8 kB / 0.5678 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.5345, allocations: 1.572 MB / 0.5693 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.5465, allocations: 6.258 MB / 0.5754 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.5796, allocations: 23.14 MB / 0.598 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.5844, allocations: 2.189 MB / 0.6002 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.5854, allocations: 0.7687 MB / 0.6009 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006571/0.592, allocations: 3.895 MB / 0.6047 GB, free: 2.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.5921, allocations: 39.12 kB / 0.6048 GB, free: 2.828 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.125e-06/0.5921, allocations: 4 kB / 0.6048 GB, free: 2.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.00827/0.6004, allocations: 2.244 MB / 0.607 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.6005, allocations: 59.97 kB / 0.607 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/0.6047, allocations: 2.108 MB / 0.6091 GB, free: 14.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.565e-05/0.6048, allocations: 33.7 kB / 0.6091 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/0.6067, allocations: 2.12 MB / 0.6112 GB, free: 12.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.6072, allocations: 343.6 kB / 0.6115 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.6083, allocations: 0.6625 MB / 0.6122 GB, free: 11.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.6085, allocations: 309.1 kB / 0.6124 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.6104, allocations: 0.9392 MB / 0.6134 GB, free: 9.898 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.6142, allocations: 2.916 MB / 0.6162 GB, free: 6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006614/0.6209, allocations: 4.224 MB / 0.6203 GB, free: 0.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.256e-05/0.621, allocations: 20 kB / 0.6204 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009079/0.6301, allocations: 3.752 MB / 0.624 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-05/0.6302, allocations: 36 kB / 0.6241 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.6304, allocations: 75.94 kB / 0.6241 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.6306, allocations: 96.06 kB / 0.6242 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.634, allocations: 0.694 MB / 0.6249 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/0.6342, allocations: 139.4 kB / 0.625 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004021/0.6382, allocations: 443.2 kB / 0.6255 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005054/0.6387, allocations: 196 kB / 0.6256 GB, free: 11.35 MB / 494.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.004135/0.6429, allocations: 1.562 MB / 0.6272 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/0.6434, allocations: 177.6 kB / 0.6273 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006627/0.6441, allocations: 210.7 kB / 0.6275 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/0.6441, allocations: 15.98 kB / 0.6276 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.6441, allocations: 0 / 0.6276 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.6442, allocations: 0 / 0.6276 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.658, allocations: 5.08 MB / 0.6325 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.6581, allocations: 16.02 kB / 0.6325 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/0.6588, allocations: 115.8 kB / 0.6326 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.957e-05/0.6588, allocations: 12 kB / 0.6326 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.6589, allocations: 27.92 kB / 0.6327 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.069e-05/0.659, allocations: 15.94 kB / 0.6327 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/0.659, allocations: 11.94 kB / 0.6327 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.6616, allocations: 1.403 MB / 0.6341 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.6623, allocations: 278.4 kB / 0.6343 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.6626, allocations: 27.92 kB / 0.6344 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.6636, allocations: 31.89 kB / 0.6344 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.6637, allocations: 63.81 kB / 0.6345 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.6638, allocations: 39.97 kB / 0.6345 GB, free: 1.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003202/0.6671, allocations: 1.477 MB / 0.6359 GB, free: 464 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6671, allocations: 0 / 0.6359 GB, free: 464 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.003726/0.6708, allocations: 0.8202 MB / 0.6367 GB, free: 15.63 MB / 0.4981 GB 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.0003382/0.6712, allocations: 139 kB / 0.6369 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003351/0.6745, allocations: 2.197 MB / 0.639 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6746, allocations: 8.125 kB / 0.639 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.6752, allocations: 0.4974 MB / 0.6395 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.6767, allocations: 300.2 kB / 0.6398 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009995/0.6867, allocations: 5.925 MB / 0.6456 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002799/0.6895, allocations: 2.603 MB / 0.6481 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002187/0.6917, allocations: 1.04 MB / 0.6491 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6921, allocations: 135.4 kB / 0.6493 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.6921, allocations: 0 / 0.6493 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of Templates: time 0.03696/0.729, allocations: 17.66 MB / 0.6665 GB, free: 1.004 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/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