Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009859/0.000986, allocations: 180 kB / 16.08 MB, free: 5.523 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.482/1.482, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.0008985/0.0008984, allocations: 94.23 kB / 270.8 MB, free: 13.2 MB / 234.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.2007/0.2007, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 11.98 kB / 432.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1099, allocations: 58.86 MB / 491.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2953/0.4052, allocations: 49.59 MB / 0.5281 GB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0275/0.4328, allocations: 12.25 MB / 0.54 GB, free: 7.363 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.446, allocations: 225.9 kB / 0.5403 GB, free: 7.328 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.4482, allocations: 353.2 kB / 0.5406 GB, free: 7.254 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004477/0.4527, allocations: 1.299 MB / 0.5419 GB, free: 7.016 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.4538, allocations: 315.9 kB / 0.5422 GB, free: 7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.4599, allocations: 4.31 MB / 0.5464 GB, free: 6.598 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006286/0.4662, allocations: 5.128 MB / 0.5514 GB, free: 4.289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.4683, allocations: 0.9037 MB / 0.5523 GB, free: 3.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.4705, allocations: 1.408 MB / 0.5536 GB, free: 3.402 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004879/0.471, allocations: 122.1 kB / 0.5538 GB, free: 3.402 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.4726, allocations: 0.6377 MB / 0.5544 GB, free: 3.227 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.4739, allocations: 1.348 MB / 0.5557 GB, free: 2.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.4761, allocations: 1.616 MB / 0.5573 GB, free: 1.988 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006643/0.4828, allocations: 5.54 MB / 0.5627 GB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4828, allocations: 4 kB / 0.5627 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4829, allocations: 0 / 0.5627 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002205/0.4831, allocations: 0 / 0.5627 GB, free: 14.82 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.006666/0.4898, allocations: 3.04 MB / 0.5657 GB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4898, allocations: 10.44 kB / 0.5657 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00571/0.4955, allocations: 1.759 MB / 0.5674 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/0.4993, allocations: 1.638 MB / 0.569 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.4994, allocations: 209.4 kB / 0.5692 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.5, allocations: 262.8 kB / 0.5694 GB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.5149, allocations: 8.35 MB / 0.5776 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/0.515, allocations: 11.88 kB / 0.5776 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003257/0.5154, allocations: 120.4 kB / 0.5777 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002695/0.5181, allocations: 1.765 MB / 0.5794 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.5321, allocations: 7 MB / 0.5863 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/0.5699, allocations: 25.91 MB / 0.6116 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005225/0.5752, allocations: 2.556 MB / 0.6141 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.5767, allocations: 0.9578 MB / 0.615 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007728/0.5844, allocations: 4.447 MB / 0.6194 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/0.5845, allocations: 43.56 kB / 0.6194 GB, free: 4.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 7.504e-06/0.5845, allocations: 0 / 0.6194 GB, free: 4.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.006965/0.5915, allocations: 2.715 MB / 0.622 GB, free: 2.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.5916, allocations: 64.34 kB / 0.6221 GB, free: 1.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.5947, allocations: 2.245 MB / 0.6243 GB, free: 15.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.672e-05/0.5948, allocations: 41.7 kB / 0.6243 GB, free: 15.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.5963, allocations: 2.316 MB / 0.6266 GB, free: 13.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.5967, allocations: 460.9 kB / 0.627 GB, free: 12.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5969, allocations: 72 kB / 0.6271 GB, free: 12.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.5971, allocations: 474 kB / 0.6276 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.5987, allocations: 1.108 MB / 0.6286 GB, free: 11.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002858/0.6016, allocations: 3.275 MB / 0.6318 GB, free: 6.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/0.6066, allocations: 4.796 MB / 0.6365 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.258e-05/0.6067, allocations: 24 kB / 0.6365 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006618/0.6133, allocations: 4.296 MB / 0.6407 GB, free: 12.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.6134, allocations: 36.97 kB / 0.6408 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-05/0.6135, allocations: 76 kB / 0.6409 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.565e-05/0.6136, allocations: 104 kB / 0.641 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.6159, allocations: 0.8188 MB / 0.6418 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/0.616, allocations: 147.4 kB / 0.6419 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.6182, allocations: 0.4908 MB / 0.6424 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.6185, allocations: 224 kB / 0.6426 GB, free: 10.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002841/0.6214, allocations: 1.708 MB / 0.6443 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.6217, allocations: 193.5 kB / 0.6444 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.6241, allocations: 1.51 MB / 0.6459 GB, free: 7.324 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.6241, allocations: 15.28 kB / 0.6459 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6241, allocations: 7.938 kB / 0.6459 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6241, allocations: 3.984 kB / 0.6459 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.6357, allocations: 7.364 MB / 0.6531 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.6358, allocations: 16.97 kB / 0.6531 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.6366, allocations: 187.6 kB / 0.6533 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/0.6366, allocations: 24 kB / 0.6533 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.6367, allocations: 39.98 kB / 0.6534 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.422e-05/0.6367, allocations: 35.84 kB / 0.6534 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.658e-05/0.6367, allocations: 27.88 kB / 0.6534 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.6392, allocations: 1.996 MB / 0.6554 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.6398, allocations: 330 kB / 0.6557 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.6401, allocations: 39.98 kB / 0.6557 GB, free: 12.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.6408, allocations: 51.88 kB / 0.6558 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.641, allocations: 115.5 kB / 0.6559 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/0.6411, allocations: 51.98 kB / 0.656 GB, free: 12.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002169/0.6433, allocations: 1.555 MB / 0.6575 GB, free: 11 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6433, allocations: 4 kB / 0.6575 GB, free: 10.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002881/0.6462, allocations: 0.9314 MB / 0.6584 GB, free: 10.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0003176/0.6465, allocations: 177.7 kB / 0.6586 GB, free: 9.879 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004126/0.6507, allocations: 2.594 MB / 0.6611 GB, free: 7.301 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6507, allocations: 0 / 0.6611 GB, free: 7.301 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6517, allocations: 0.7022 MB / 0.6618 GB, free: 6.602 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005283/0.657, allocations: 300 kB / 0.6621 GB, free: 6.305 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.6706, allocations: 8.774 MB / 0.6706 GB, free: 13.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003165/0.6738, allocations: 2.828 MB / 0.6734 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003067/0.6769, allocations: 1.171 MB / 0.6745 GB, free: 9.281 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/0.6773, allocations: 167.4 kB / 0.6747 GB, free: 9.117 MB / 490.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6773, allocations: 0 / 0.6747 GB, free: 9.117 MB / 490.7 MB Notification: Performance of Templates: time 0.04038/0.7177, allocations: 18.59 MB / 0.6929 GB, free: 6.645 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches