Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 174.7 kB / 16.08 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008241/0.000824, allocations: 87.14 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3737/0.3737, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 58.85 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2296/0.3581, allocations: 35.39 MB / 0.5142 GB, free: 25.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.3764, allocations: 9.563 MB / 0.5235 GB, free: 17.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009252/0.3857, allocations: 160.8 kB / 0.5237 GB, free: 17.69 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.3871, allocations: 313.9 kB / 0.524 GB, free: 17.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.3907, allocations: 1.154 MB / 0.5251 GB, free: 17.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.3916, allocations: 263.2 kB / 0.5254 GB, free: 16.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004064/0.3957, allocations: 3.647 MB / 0.5289 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005018/0.4007, allocations: 4.067 MB / 0.5329 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.4024, allocations: 0.7588 MB / 0.5337 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.4042, allocations: 1.169 MB / 0.5348 GB, free: 13.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005105/0.4048, allocations: 99.12 kB / 0.5349 GB, free: 13.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.4062, allocations: 0.6157 MB / 0.5355 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.4074, allocations: 1.09 MB / 0.5366 GB, free: 12.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/0.4094, allocations: 1.328 MB / 0.5379 GB, free: 11.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005082/0.4145, allocations: 4.48 MB / 0.5422 GB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4145, allocations: 0 / 0.5422 GB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4145, allocations: 0 / 0.5422 GB, free: 10.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001993/0.4147, allocations: 7.938 kB / 0.5422 GB, free: 10.28 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.007635/0.4224, allocations: 2.577 MB / 0.5448 GB, free: 8.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.013e-05/0.4225, allocations: 12.38 kB / 0.5448 GB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/0.4308, allocations: 1.662 MB / 0.5464 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/0.4348, allocations: 1.405 MB / 0.5478 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.4351, allocations: 158.8 kB / 0.5479 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/0.4363, allocations: 212.8 kB / 0.5481 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01591/0.4522, allocations: 6.955 MB / 0.5549 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.4524, allocations: 25.62 kB / 0.5549 GB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000847/0.4532, allocations: 97.8 kB / 0.555 GB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002724/0.456, allocations: 1.529 MB / 0.5565 GB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.4691, allocations: 5.911 MB / 0.5623 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.039/0.5082, allocations: 22.26 MB / 0.584 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/0.5132, allocations: 2.193 MB / 0.5862 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.5147, allocations: 0.7933 MB / 0.5869 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007841/0.5225, allocations: 3.962 MB / 0.5908 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5226, allocations: 47.16 kB / 0.5909 GB, free: 1.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.689e-06/0.5226, allocations: 0 / 0.5909 GB, free: 1.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.005913/0.5285, allocations: 2.244 MB / 0.593 GB, free: 15.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.5286, allocations: 60.06 kB / 0.5931 GB, free: 15.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004143/0.5328, allocations: 2.037 MB / 0.5951 GB, free: 13.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/0.5329, allocations: 45.62 kB / 0.5951 GB, free: 13.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.5345, allocations: 2.007 MB / 0.5971 GB, free: 11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.535, allocations: 379.2 kB / 0.5975 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.5352, allocations: 63.98 kB / 0.5975 GB, free: 10.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003839/0.5356, allocations: 0.5018 MB / 0.598 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.5373, allocations: 0.9824 MB / 0.599 GB, free: 9.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/0.5406, allocations: 2.988 MB / 0.6019 GB, free: 5.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.5455, allocations: 4.342 MB / 0.6061 GB, free: 15.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.194e-05/0.5456, allocations: 20 kB / 0.6061 GB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.006304/0.5519, allocations: 3.855 MB / 0.6099 GB, free: 11.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.552, allocations: 40.03 kB / 0.61 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-05/0.552, allocations: 72 kB / 0.61 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-05/0.5521, allocations: 95.83 kB / 0.6101 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/0.5542, allocations: 0.7213 MB / 0.6108 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000105/0.5543, allocations: 143.4 kB / 0.611 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.5567, allocations: 459.1 kB / 0.6114 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.557, allocations: 208 kB / 0.6116 GB, free: 10.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (401): * Single equations (assignments): 396 * 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.002817/0.5598, allocations: 1.466 MB / 0.613 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.5602, allocations: 177.8 kB / 0.6132 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.5622, allocations: 1.233 MB / 0.6144 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.5622, allocations: 12 kB / 0.6144 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5622, allocations: 0 / 0.6144 GB, free: 7.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5622, allocations: 3.984 kB / 0.6144 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008302/0.5706, allocations: 5.025 MB / 0.6193 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.5706, allocations: 12 kB / 0.6193 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.5712, allocations: 135.8 kB / 0.6195 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.5712, allocations: 16 kB / 0.6195 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.5713, allocations: 36.55 kB / 0.6195 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/0.5713, allocations: 15.94 kB / 0.6195 GB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.5713, allocations: 19.94 kB / 0.6195 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.5733, allocations: 1.57 MB / 0.6211 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.5738, allocations: 278.5 kB / 0.6213 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.5739, allocations: 27.98 kB / 0.6214 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.5745, allocations: 31.89 kB / 0.6214 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5747, allocations: 83.67 kB / 0.6215 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.5747, allocations: 47.92 kB / 0.6215 GB, free: 15.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001877/0.5766, allocations: 1.325 MB / 0.6228 GB, free: 14.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5766, allocations: 0 / 0.6228 GB, free: 14.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003005/0.5796, allocations: 0.7738 MB / 0.6236 GB, free: 13.45 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003935/0.5801, allocations: 162.9 kB / 0.6237 GB, free: 13.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003695/0.5838, allocations: 2.28 MB / 0.626 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.5838, allocations: 8.062 kB / 0.626 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007863/0.5846, allocations: 0.5528 MB / 0.6265 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/0.5881, allocations: 265 kB / 0.6268 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.5999, allocations: 7.274 MB / 0.6339 GB, free: 2.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002974/0.6029, allocations: 2.45 MB / 0.6363 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00276/0.6057, allocations: 1.047 MB / 0.6373 GB, free: 15.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.6061, allocations: 131.4 kB / 0.6374 GB, free: 15.12 MB / 474.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6061, allocations: 4 kB / 0.6374 GB, free: 15.11 MB / 474.7 MB Notification: Performance of Templates: time 0.03459/0.6407, allocations: 15.31 MB / 0.6524 GB, free: 15.88 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches