Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 108.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3366, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01236/0.3491, allocations: 10.52 MB / 0.5298 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007517/0.3566, allocations: 3.099 MB / 0.5329 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.3588, allocations: 55 kB / 0.5329 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005376/0.3642, allocations: 2.625 MB / 0.5355 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.369, allocations: 1.221 MB / 0.5367 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3702, allocations: 349.1 kB / 0.537 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.3743, allocations: 2.588 MB / 0.5395 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/0.3786, allocations: 3.03 MB / 0.5425 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.3808, allocations: 1.092 MB / 0.5435 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.3833, allocations: 1.415 MB / 0.5449 GB, free: 2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008217/0.3841, allocations: 263.9 kB / 0.5452 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.386, allocations: 0.7529 MB / 0.5459 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.3878, allocations: 1.41 MB / 0.5473 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.3903, allocations: 1.631 MB / 0.5489 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006488/0.3968, allocations: 5.357 MB / 0.5541 GB, free: 8.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3968, allocations: 0 / 0.5541 GB, free: 8.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3968, allocations: 0 / 0.5541 GB, free: 8.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002109/0.3971, allocations: 0 / 0.5541 GB, free: 8.559 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.007537/0.4046, allocations: 3.402 MB / 0.5574 GB, free: 5.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4047, allocations: 15.97 kB / 0.5575 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.4104, allocations: 1.654 MB / 0.5591 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.4135, allocations: 1.551 MB / 0.5606 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.4137, allocations: 185.1 kB / 0.5608 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008259/0.4146, allocations: 235.8 kB / 0.561 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.4285, allocations: 7.501 MB / 0.5683 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-05/0.4287, allocations: 11.88 kB / 0.5683 GB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007568/0.4294, allocations: 107.9 kB / 0.5684 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002615/0.4321, allocations: 1.568 MB / 0.57 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.4449, allocations: 6.262 MB / 0.5761 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/0.4807, allocations: 23.13 MB / 0.5987 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.4857, allocations: 2.201 MB / 0.6008 GB, free: 7.547 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.4869, allocations: 0.7659 MB / 0.6016 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007028/0.4939, allocations: 3.891 MB / 0.6054 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.494, allocations: 39.12 kB / 0.6054 GB, free: 2.691 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.687e-06/0.494, allocations: 0 / 0.6054 GB, free: 2.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006472/0.5005, allocations: 2.248 MB / 0.6076 GB, free: 448 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.5006, allocations: 59.97 kB / 0.6076 GB, free: 376 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.5048, allocations: 2.105 MB / 0.6097 GB, free: 14.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.505, allocations: 37.7 kB / 0.6097 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001738/0.5067, allocations: 2.12 MB / 0.6118 GB, free: 12.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.5073, allocations: 351.6 kB / 0.6121 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.5086, allocations: 0.6664 MB / 0.6128 GB, free: 11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5087, allocations: 301.1 kB / 0.6131 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.5102, allocations: 0.9431 MB / 0.614 GB, free: 9.754 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.5134, allocations: 2.909 MB / 0.6168 GB, free: 5.863 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.5183, allocations: 4.228 MB / 0.621 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.665e-05/0.5185, allocations: 20 kB / 0.621 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006508/0.525, allocations: 3.745 MB / 0.6246 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.5251, allocations: 38.83 kB / 0.6247 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.755e-05/0.5252, allocations: 76 kB / 0.6248 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.5253, allocations: 92 kB / 0.6248 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002136/0.5275, allocations: 0.6901 MB / 0.6255 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/0.5276, allocations: 139.4 kB / 0.6256 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.5297, allocations: 443.2 kB / 0.6261 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/0.5301, allocations: 208 kB / 0.6263 GB, free: 11.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (388): * Single equations (assignments): 383 * 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.002477/0.5326, allocations: 1.554 MB / 0.6278 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.5329, allocations: 181.6 kB / 0.628 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.5334, allocations: 218.7 kB / 0.6282 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.5334, allocations: 8 kB / 0.6282 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.5334, allocations: 0 / 0.6282 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5335, allocations: 3.984 kB / 0.6282 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009081/0.5425, allocations: 5.083 MB / 0.6331 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.5426, allocations: 8 kB / 0.6332 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.5431, allocations: 111.8 kB / 0.6333 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.996e-05/0.5431, allocations: 12 kB / 0.6333 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.5432, allocations: 27.92 kB / 0.6333 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.5432, allocations: 11.94 kB / 0.6333 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.5432, allocations: 11.94 kB / 0.6333 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.545, allocations: 1.403 MB / 0.6347 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.5456, allocations: 290.3 kB / 0.635 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.5459, allocations: 27.94 kB / 0.635 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.5466, allocations: 43.86 kB / 0.635 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5468, allocations: 59.81 kB / 0.6351 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.5468, allocations: 32 kB / 0.6351 GB, free: 1.809 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002529/0.5494, allocations: 1.477 MB / 0.6366 GB, free: 320 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.5494, allocations: 4 kB / 0.6366 GB, free: 316 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.003213/0.5526, allocations: 0.8125 MB / 0.6374 GB, free: 15.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0004171/0.5531, allocations: 154.8 kB / 0.6375 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003559/0.5566, allocations: 2.195 MB / 0.6397 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.5567, allocations: 0 / 0.6397 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006507/0.5573, allocations: 0.5013 MB / 0.6401 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.5593, allocations: 294.5 kB / 0.6404 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.5718, allocations: 6.294 MB / 0.6466 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003708/0.5755, allocations: 2.611 MB / 0.6491 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.5761, allocations: 163.4 kB / 0.6493 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of SimCode: time 1.273e-06/0.5761, allocations: 0 / 0.6493 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.0521/0.6282, allocations: 35.13 MB / 0.6836 GB, free: 40 kB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches