Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009689/0.0009691, allocations: 175 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008533/0.0008532, allocations: 93.88 kB / 295 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3328/0.3328, allocations: 44.33 MB / 390.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.33, allocations: 61.91 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0248/0.3549, allocations: 34.24 MB / 0.5462 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.3704, allocations: 9.428 MB / 0.5554 GB, free: 6.242 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005346/0.3758, allocations: 158.2 kB / 0.5555 GB, free: 6.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008977/0.3767, allocations: 294.3 kB / 0.5558 GB, free: 6.113 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.3792, allocations: 1.065 MB / 0.5569 GB, free: 5.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.3799, allocations: 260.2 kB / 0.5571 GB, free: 5.582 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003432/0.3834, allocations: 3.403 MB / 0.5604 GB, free: 4.605 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0044/0.3878, allocations: 4.017 MB / 0.5643 GB, free: 2.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.389, allocations: 0.7032 MB / 0.565 GB, free: 2.066 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.3904, allocations: 1.041 MB / 0.566 GB, free: 1.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.3907, allocations: 86.47 kB / 0.5661 GB, free: 1.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.3919, allocations: 0.6262 MB / 0.5667 GB, free: 1.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.393, allocations: 1.006 MB / 0.5677 GB, free: 1.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.3941, allocations: 1.22 MB / 0.5689 GB, free: 360 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.3997, allocations: 4.124 MB / 0.5729 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3997, allocations: 1.156 kB / 0.5729 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3997, allocations: 0 / 0.5729 GB, free: 14.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.3999, allocations: 0 / 0.5729 GB, free: 14.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005409/0.4053, allocations: 2.422 MB / 0.5753 GB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4053, allocations: 8.75 kB / 0.5753 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.4105, allocations: 1.633 MB / 0.5769 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.4131, allocations: 1.344 MB / 0.5782 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4132, allocations: 151.9 kB / 0.5784 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.4136, allocations: 191.9 kB / 0.5786 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009526/0.4231, allocations: 6.413 MB / 0.5848 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.4232, allocations: 15.88 kB / 0.5848 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.4234, allocations: 87.91 kB / 0.5849 GB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.4256, allocations: 1.41 MB / 0.5863 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00928/0.4349, allocations: 5.46 MB / 0.5916 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02434/0.4592, allocations: 20.61 MB / 0.6117 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0038/0.4631, allocations: 1.997 MB / 0.6137 GB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.464, allocations: 0.699 MB / 0.6144 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006029/0.47, allocations: 3.63 MB / 0.6179 GB, free: 152 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4701, allocations: 50.92 kB / 0.618 GB, free: 92 kB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 1.361e-05/0.4701, allocations: 4 kB / 0.618 GB, free: 88 kB / 426.7 MB Notification: Performance of matching and sorting (n=78): time 0.004981/0.4751, allocations: 1.97 MB / 0.6199 GB, free: 14.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4752, allocations: 55.84 kB / 0.62 GB, free: 14.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.4779, allocations: 1.954 MB / 0.6219 GB, free: 12.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.4779, allocations: 29.7 kB / 0.6219 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.4792, allocations: 1.887 MB / 0.6237 GB, free: 10.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.4795, allocations: 320.1 kB / 0.624 GB, free: 9.812 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.4796, allocations: 56 kB / 0.6241 GB, free: 9.758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002747/0.4799, allocations: 493.3 kB / 0.6246 GB, free: 9.266 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.4811, allocations: 0.8764 MB / 0.6254 GB, free: 8.387 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.4834, allocations: 2.77 MB / 0.6281 GB, free: 4.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/0.4875, allocations: 3.973 MB / 0.632 GB, free: 15.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.793e-05/0.4875, allocations: 20 kB / 0.632 GB, free: 15.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005104/0.4926, allocations: 3.539 MB / 0.6355 GB, free: 12.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.4927, allocations: 36 kB / 0.6355 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.957e-05/0.4928, allocations: 64 kB / 0.6356 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.105e-05/0.4929, allocations: 88.75 kB / 0.6357 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.4946, allocations: 0.6589 MB / 0.6363 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-05/0.4948, allocations: 139.4 kB / 0.6364 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.4965, allocations: 419.5 kB / 0.6368 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.4967, allocations: 188 kB / 0.637 GB, free: 10.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (365): * Single equations (assignments): 360 * 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.002216/0.499, allocations: 1.37 MB / 0.6384 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.4992, allocations: 165.9 kB / 0.6385 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.4995, allocations: 201.2 kB / 0.6387 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4995, allocations: 8 kB / 0.6387 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4995, allocations: 0 / 0.6387 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4996, allocations: 3.984 kB / 0.6387 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.5053, allocations: 4.089 MB / 0.6427 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.5054, allocations: 8 kB / 0.6427 GB, free: 4.617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.5057, allocations: 99.83 kB / 0.6428 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.447e-06/0.5058, allocations: 8 kB / 0.6428 GB, free: 4.512 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.5058, allocations: 19.98 kB / 0.6428 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.5058, allocations: 15.94 kB / 0.6428 GB, free: 4.477 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.5058, allocations: 11.92 kB / 0.6429 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.5071, allocations: 1.27 MB / 0.6441 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.5074, allocations: 262.7 kB / 0.6444 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.5076, allocations: 16 kB / 0.6444 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.5081, allocations: 31.88 kB / 0.6444 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5082, allocations: 59.77 kB / 0.6445 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.5083, allocations: 32 kB / 0.6445 GB, free: 2.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001596/0.5099, allocations: 1.264 MB / 0.6457 GB, free: 1.426 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5099, allocations: 3.938 kB / 0.6457 GB, free: 1.422 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002232/0.5121, allocations: 0.7038 MB / 0.6464 GB, free: 0.7148 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0002937/0.5124, allocations: 151 kB / 0.6466 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.5151, allocations: 2.028 MB / 0.6485 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5151, allocations: 4 kB / 0.6485 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.5156, allocations: 453.4 kB / 0.649 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.5181, allocations: 242.5 kB / 0.6492 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009232/0.5273, allocations: 6.567 MB / 0.6556 GB, free: 7.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/0.5298, allocations: 2.316 MB / 0.6579 GB, free: 4.832 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002475/0.5323, allocations: 0.9678 MB / 0.6588 GB, free: 3.859 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.5326, allocations: 115.4 kB / 0.6589 GB, free: 3.746 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5327, allocations: 4 kB / 0.6589 GB, free: 3.742 MB / 474.7 MB Notification: Performance of Templates: time 0.02789/0.5605, allocations: 13.85 MB / 0.6725 GB, free: 5.973 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches