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.0007681/0.0007681, allocations: 94.61 kB / 18.01 MB, free: 5.734 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.000876/0.0008762, allocations: 180.1 kB / 18.91 MB, free: 4.867 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.366/1.366, allocations: 223.3 MB / 243 MB, free: 14.48 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.1999/0.1999, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.000351, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3101/0.4252, allocations: 51.13 MB / 0.5118 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02514/0.4504, allocations: 10.09 MB / 0.5216 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01221/0.4627, allocations: 217.9 kB / 0.5218 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.4642, allocations: 326.2 kB / 0.5221 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.4684, allocations: 1.169 MB / 0.5233 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.4696, allocations: 321.3 kB / 0.5236 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006239/0.4759, allocations: 3.876 MB / 0.5274 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006742/0.4827, allocations: 4.208 MB / 0.5315 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.4845, allocations: 0.7437 MB / 0.5322 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.4866, allocations: 1.21 MB / 0.5334 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005961/0.4872, allocations: 105.1 kB / 0.5335 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.4889, allocations: 0.6521 MB / 0.5341 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.4904, allocations: 1.21 MB / 0.5353 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.4928, allocations: 1.427 MB / 0.5367 GB, free: 3.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.4974, allocations: 4.162 MB / 0.5408 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4974, allocations: 0 / 0.5408 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4974, allocations: 0 / 0.5408 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002317/0.4977, allocations: 0 / 0.5408 GB, free: 0.6445 MB / 382.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.005877/0.5035, allocations: 2.769 MB / 0.5435 GB, free: 14.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5036, allocations: 10.06 kB / 0.5435 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.5091, allocations: 1.701 MB / 0.5451 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.5119, allocations: 1.533 MB / 0.5466 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.512, allocations: 183.9 kB / 0.5468 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.5125, allocations: 240.5 kB / 0.547 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.5251, allocations: 7.485 MB / 0.5543 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.5253, allocations: 19.86 kB / 0.5544 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005704/0.5259, allocations: 112.9 kB / 0.5545 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002533/0.5284, allocations: 1.566 MB / 0.556 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.5409, allocations: 6.258 MB / 0.5621 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03582/0.5768, allocations: 23.32 MB / 0.5849 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/0.5819, allocations: 2.203 MB / 0.587 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.5832, allocations: 0.7659 MB / 0.5878 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007301/0.5905, allocations: 3.892 MB / 0.5916 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.5906, allocations: 43.06 kB / 0.5916 GB, free: 14.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.807e-06/0.5906, allocations: 0 / 0.5916 GB, free: 14.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006613/0.5972, allocations: 2.251 MB / 0.5938 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.5973, allocations: 63.97 kB / 0.5939 GB, free: 11.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.6014, allocations: 2.097 MB / 0.5959 GB, free: 9.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/0.6015, allocations: 33.7 kB / 0.596 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.6032, allocations: 2.123 MB / 0.598 GB, free: 7.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.6036, allocations: 347.4 kB / 0.5984 GB, free: 7.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004643/0.6041, allocations: 296.6 kB / 0.5987 GB, free: 7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.6042, allocations: 305.1 kB / 0.599 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.6057, allocations: 0.947 MB / 0.5999 GB, free: 5.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.6087, allocations: 2.917 MB / 0.6027 GB, free: 1.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005348/0.6141, allocations: 4.207 MB / 0.6068 GB, free: 12.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.087e-05/0.6142, allocations: 23.94 kB / 0.6069 GB, free: 12.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006925/0.6211, allocations: 3.753 MB / 0.6105 GB, free: 8.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.6212, allocations: 36 kB / 0.6106 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.6213, allocations: 68 kB / 0.6106 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.6215, allocations: 92.78 kB / 0.6107 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.6236, allocations: 0.7018 MB / 0.6114 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001431/0.6238, allocations: 143.5 kB / 0.6115 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.6264, allocations: 443.2 kB / 0.612 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/0.6268, allocations: 198.6 kB / 0.6121 GB, free: 7.219 MB / 462.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.003036/0.6298, allocations: 1.566 MB / 0.6137 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003741/0.6302, allocations: 173.7 kB / 0.6138 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.6308, allocations: 214.7 kB / 0.614 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.6308, allocations: 16 kB / 0.6141 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6308, allocations: 0 / 0.6141 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.6308, allocations: 3.984 kB / 0.6141 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.6411, allocations: 5.069 MB / 0.619 GB, free: 8 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.6412, allocations: 12.98 kB / 0.619 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.6416, allocations: 115.8 kB / 0.6191 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.6417, allocations: 12 kB / 0.6191 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.6417, allocations: 35.91 kB / 0.6192 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.6418, allocations: 19.88 kB / 0.6192 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/0.6418, allocations: 11.94 kB / 0.6192 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.6438, allocations: 1.406 MB / 0.6206 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.6445, allocations: 298.2 kB / 0.6209 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.6449, allocations: 23.94 kB / 0.6209 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.6457, allocations: 35.88 kB / 0.6209 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6458, allocations: 69.86 kB / 0.621 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/0.6459, allocations: 32 kB / 0.621 GB, free: 13.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002918/0.6488, allocations: 1.473 MB / 0.6225 GB, free: 12.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6488, allocations: 0 / 0.6225 GB, free: 12.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003748/0.6526, allocations: 0.8086 MB / 0.6232 GB, free: 11.5 MB / 478.1 MB 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.0005005/0.6531, allocations: 154 kB / 0.6234 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004154/0.6573, allocations: 2.169 MB / 0.6255 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6573, allocations: 0 / 0.6255 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.658, allocations: 0.5029 MB / 0.626 GB, free: 8.695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/0.6618, allocations: 286.5 kB / 0.6263 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.6761, allocations: 7.938 MB / 0.634 GB, free: 352 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003958/0.6801, allocations: 2.6 MB / 0.6366 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.6807, allocations: 167.3 kB / 0.6367 GB, free: 13.54 MB / 494.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6807, allocations: 0 / 0.6367 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Templates: time 0.06276/0.7435, allocations: 34.13 MB / 0.6701 GB, free: 11.45 MB / 0.5137 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