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.001212/0.001213, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.45/1.45, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0008467/0.0008465, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.3579/0.3579, allocations: 43.56 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 19.98 kB / 431.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.14, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2655/0.4056, allocations: 49.44 MB / 0.527 GB, free: 15.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02457/0.4302, allocations: 9.921 MB / 0.5367 GB, free: 8.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01334/0.4436, allocations: 219.8 kB / 0.5369 GB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006755/0.4504, allocations: 2.099 MB / 0.539 GB, free: 7.812 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.4671, allocations: 6.048 MB / 0.5449 GB, free: 5.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.4695, allocations: 299.8 kB / 0.5452 GB, free: 5.172 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.474, allocations: 3.35 MB / 0.5484 GB, free: 4.051 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007208/0.4812, allocations: 3.908 MB / 0.5523 GB, free: 2.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.4837, allocations: 0.8867 MB / 0.5531 GB, free: 2.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.487, allocations: 1.393 MB / 0.5545 GB, free: 1.734 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.488, allocations: 122.5 kB / 0.5546 GB, free: 1.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.4901, allocations: 0.5465 MB / 0.5551 GB, free: 1.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002225/0.4924, allocations: 1.315 MB / 0.5564 GB, free: 1.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.4939, allocations: 0.688 MB / 0.5571 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.5002, allocations: 4.64 MB / 0.5616 GB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5003, allocations: 0 / 0.5616 GB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5003, allocations: 1.375 kB / 0.5616 GB, free: 14.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001931/0.5005, allocations: 0 / 0.5616 GB, free: 14.1 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.006565/0.507, allocations: 3.089 MB / 0.5646 GB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5071, allocations: 13.31 kB / 0.5646 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/0.5133, allocations: 1.754 MB / 0.5664 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.5174, allocations: 1.613 MB / 0.5679 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.5176, allocations: 207.1 kB / 0.5681 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.518, allocations: 264 kB / 0.5684 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/0.5324, allocations: 8.351 MB / 0.5765 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-05/0.5325, allocations: 19.81 kB / 0.5766 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.5329, allocations: 127.9 kB / 0.5767 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00274/0.5357, allocations: 1.76 MB / 0.5784 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.5508, allocations: 6.995 MB / 0.5852 GB, free: 8.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04268/0.5935, allocations: 25.89 MB / 0.6105 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/0.5991, allocations: 2.537 MB / 0.613 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.6007, allocations: 0.9735 MB / 0.6139 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007825/0.6085, allocations: 4.451 MB / 0.6183 GB, free: 6.023 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.6086, allocations: 43.56 kB / 0.6183 GB, free: 5.969 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 3.947e-06/0.6086, allocations: 3.938 kB / 0.6183 GB, free: 5.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.007012/0.6156, allocations: 2.719 MB / 0.621 GB, free: 3.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.6157, allocations: 68.41 kB / 0.6211 GB, free: 3.164 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.6189, allocations: 2.245 MB / 0.6233 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.437e-05/0.619, allocations: 45.69 kB / 0.6233 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.6205, allocations: 2.314 MB / 0.6256 GB, free: 14.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004018/0.6209, allocations: 462 kB / 0.626 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.6211, allocations: 75.98 kB / 0.6261 GB, free: 13.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.6213, allocations: 466.1 kB / 0.6265 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.623, allocations: 1.112 MB / 0.6276 GB, free: 12.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.626, allocations: 3.271 MB / 0.6308 GB, free: 8.035 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.6287, allocations: 1.902 MB / 0.6326 GB, free: 6.137 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-05/0.6287, allocations: 24 kB / 0.6327 GB, free: 6.113 MB / 458.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006849/0.6356, allocations: 4.29 MB / 0.6369 GB, free: 1.812 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.6356, allocations: 40 kB / 0.6369 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.67e-05/0.6357, allocations: 76 kB / 0.637 GB, free: 1.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.6358, allocations: 115.8 kB / 0.6371 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.6382, allocations: 0.8149 MB / 0.6379 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001179/0.6384, allocations: 151.4 kB / 0.638 GB, free: 0.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.6409, allocations: 498.7 kB / 0.6385 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.6412, allocations: 224 kB / 0.6387 GB, free: 15.91 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.003037/0.6442, allocations: 1.71 MB / 0.6404 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.6445, allocations: 193.5 kB / 0.6406 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.647, allocations: 1.518 MB / 0.642 GB, free: 12.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/0.6471, allocations: 19.95 kB / 0.6421 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6471, allocations: 0 / 0.6421 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6471, allocations: 3.984 kB / 0.6421 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.6592, allocations: 7.366 MB / 0.6493 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.6593, allocations: 12 kB / 0.6493 GB, free: 4.797 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.6601, allocations: 187.6 kB / 0.6495 GB, free: 4.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/0.6601, allocations: 24 kB / 0.6495 GB, free: 4.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/0.6602, allocations: 39.98 kB / 0.6495 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/0.6603, allocations: 23.92 kB / 0.6495 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/0.6603, allocations: 23.88 kB / 0.6496 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.6629, allocations: 2 MB / 0.6515 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000631/0.6636, allocations: 333.9 kB / 0.6518 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.6638, allocations: 35.98 kB / 0.6519 GB, free: 1.906 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/0.6646, allocations: 51.88 kB / 0.6519 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.6648, allocations: 115.6 kB / 0.652 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.951e-05/0.6649, allocations: 55.98 kB / 0.6521 GB, free: 1.688 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002506/0.6674, allocations: 1.559 MB / 0.6536 GB, free: 112 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6674, allocations: 0 / 0.6536 GB, free: 112 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.004176/0.6716, allocations: 0.9253 MB / 0.6545 GB, free: 15.18 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.0004507/0.672, allocations: 174.8 kB / 0.6547 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004723/0.6768, allocations: 2.601 MB / 0.6572 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.881e-05/0.6768, allocations: 4 kB / 0.6572 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.678, allocations: 0.6897 MB / 0.6579 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.6805, allocations: 310.2 kB / 0.6582 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/0.6991, allocations: 8.823 MB / 0.6668 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/0.7037, allocations: 2.832 MB / 0.6696 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008321/0.7046, allocations: 195.4 kB / 0.6698 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of SimCode: time 2.144e-06/0.7046, allocations: 0 / 0.6698 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.2917/0.9964, allocations: 38.94 MB / 0.7078 GB, free: 151.3 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