Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001254, allocations: 174.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007696/0.0007698, allocations: 100.9 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3106/0.3106, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.248/0.3774, allocations: 49.45 MB / 0.5276 GB, free: 15.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.4004, allocations: 9.917 MB / 0.5373 GB, free: 8.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01217/0.4126, allocations: 220.2 kB / 0.5375 GB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006312/0.419, allocations: 2.093 MB / 0.5395 GB, free: 7.793 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.4337, allocations: 6.062 MB / 0.5455 GB, free: 5.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.4358, allocations: 338.7 kB / 0.5458 GB, free: 5.129 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003898/0.4397, allocations: 3.412 MB / 0.5491 GB, free: 3.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005731/0.4454, allocations: 4.179 MB / 0.5532 GB, free: 2.219 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.4469, allocations: 0.8792 MB / 0.5541 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.449, allocations: 1.393 MB / 0.5554 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.4494, allocations: 127.8 kB / 0.5555 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.4508, allocations: 0.6386 MB / 0.5562 GB, free: 1.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.4523, allocations: 1.319 MB / 0.5575 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.4537, allocations: 1.524 MB / 0.5589 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.4588, allocations: 4.646 MB / 0.5635 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4588, allocations: 1.156 kB / 0.5635 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4588, allocations: 0 / 0.5635 GB, free: 13.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001322/0.4589, allocations: 0 / 0.5635 GB, free: 13.12 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.006609/0.4656, allocations: 3.041 MB / 0.5664 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4656, allocations: 9.344 kB / 0.5665 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.4711, allocations: 1.752 MB / 0.5682 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.4744, allocations: 1.644 MB / 0.5698 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.4746, allocations: 211.6 kB / 0.57 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/0.4751, allocations: 262.1 kB / 0.5702 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.4883, allocations: 8.345 MB / 0.5784 GB, free: 232 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/0.4884, allocations: 15.81 kB / 0.5784 GB, free: 216 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/0.4887, allocations: 127.9 kB / 0.5785 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/0.4913, allocations: 1.749 MB / 0.5802 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.5046, allocations: 7.011 MB / 0.5871 GB, free: 7.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03908/0.5437, allocations: 25.92 MB / 0.6124 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0053/0.549, allocations: 2.548 MB / 0.6149 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.5505, allocations: 0.9656 MB / 0.6158 GB, free: 9.102 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007715/0.5583, allocations: 4.447 MB / 0.6202 GB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.5583, allocations: 47.55 kB / 0.6202 GB, free: 4.453 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 3.687e-06/0.5584, allocations: 0 / 0.6202 GB, free: 4.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.006679/0.565, allocations: 2.723 MB / 0.6229 GB, free: 1.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5651, allocations: 68.34 kB / 0.6229 GB, free: 1.645 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.5686, allocations: 2.234 MB / 0.6251 GB, free: 15.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.5687, allocations: 41.7 kB / 0.6251 GB, free: 15.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.5702, allocations: 2.325 MB / 0.6274 GB, free: 12.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.5707, allocations: 458 kB / 0.6279 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.5708, allocations: 71.98 kB / 0.6279 GB, free: 12.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002669/0.5711, allocations: 474 kB / 0.6284 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.573, allocations: 1.108 MB / 0.6295 GB, free: 10.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.5761, allocations: 3.275 MB / 0.6327 GB, free: 6.523 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005193/0.5813, allocations: 4.796 MB / 0.6373 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-05/0.5814, allocations: 20 kB / 0.6374 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006696/0.5881, allocations: 4.289 MB / 0.6415 GB, free: 12.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.5881, allocations: 37.56 kB / 0.6416 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.322e-05/0.5882, allocations: 76 kB / 0.6417 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.18e-05/0.5883, allocations: 104 kB / 0.6418 GB, free: 12.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.5906, allocations: 0.8149 MB / 0.6425 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000115/0.5908, allocations: 147.4 kB / 0.6427 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/0.5931, allocations: 0.5028 MB / 0.6432 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/0.5934, allocations: 228 kB / 0.6434 GB, free: 10.44 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00316/0.5966, allocations: 1.71 MB / 0.6451 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.597, allocations: 189.5 kB / 0.6452 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.5995, allocations: 1.51 MB / 0.6467 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.5995, allocations: 16 kB / 0.6467 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5995, allocations: 0 / 0.6467 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5995, allocations: 3.984 kB / 0.6467 GB, free: 6.992 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.6123, allocations: 7.37 MB / 0.6539 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/0.6124, allocations: 12 kB / 0.6539 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/0.6132, allocations: 191.6 kB / 0.6541 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.403e-05/0.6132, allocations: 20 kB / 0.6541 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.6133, allocations: 39.98 kB / 0.6542 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-05/0.6133, allocations: 31.86 kB / 0.6542 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/0.6133, allocations: 23.88 kB / 0.6542 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.6159, allocations: 1.996 MB / 0.6562 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000758/0.6167, allocations: 334 kB / 0.6565 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/0.6172, allocations: 39.98 kB / 0.6565 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/0.6182, allocations: 47.88 kB / 0.6566 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.6184, allocations: 115.5 kB / 0.6567 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6185, allocations: 55.98 kB / 0.6568 GB, free: 12.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002854/0.6213, allocations: 1.555 MB / 0.6583 GB, free: 10.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6213, allocations: 0 / 0.6583 GB, free: 10.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003588/0.6249, allocations: 0.9291 MB / 0.6592 GB, free: 9.723 MB / 490.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004357/0.6254, allocations: 178.8 kB / 0.6594 GB, free: 9.539 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004464/0.6299, allocations: 2.589 MB / 0.6619 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.6299, allocations: 4 kB / 0.6619 GB, free: 6.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009721/0.6309, allocations: 0.6953 MB / 0.6626 GB, free: 6.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005437/0.6363, allocations: 311.2 kB / 0.6629 GB, free: 5.969 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.6552, allocations: 8.837 MB / 0.6715 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00491/0.6602, allocations: 2.827 MB / 0.6743 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007962/0.661, allocations: 195.4 kB / 0.6744 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of SimCode: time 1.743e-06/0.661, allocations: 0 / 0.6744 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of Templates: time 0.2768/0.9378, allocations: 38.8 MB / 0.7123 GB, free: 142.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches