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.001354/0.00136, allocations: 114 kB / 17.99 MB, free: 5.18 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.001454/0.001454, allocations: 193.3 kB / 18.9 MB, free: 4.27 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.377/1.377, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2044/0.2044, allocations: 44.18 MB / 336.9 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.69 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 60.82 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3218/0.4248, allocations: 52.48 MB / 0.5096 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0248/0.4497, allocations: 10.09 MB / 0.5195 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01373/0.4635, allocations: 214.3 kB / 0.5197 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.4694, allocations: 2.536 MB / 0.5222 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.4739, allocations: 1.147 MB / 0.5233 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.4754, allocations: 321 kB / 0.5236 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004978/0.4804, allocations: 2.621 MB / 0.5261 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006484/0.4869, allocations: 3.18 MB / 0.5292 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.4899, allocations: 1.109 MB / 0.5303 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.4928, allocations: 1.549 MB / 0.5318 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.494, allocations: 257.7 kB / 0.5321 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.4965, allocations: 0.7675 MB / 0.5328 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002235/0.4987, allocations: 1.41 MB / 0.5342 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.5022, allocations: 1.646 MB / 0.5358 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006675/0.5089, allocations: 4.288 MB / 0.54 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5089, allocations: 0 / 0.54 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5089, allocations: 2.312 kB / 0.54 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002631/0.5092, allocations: 4 kB / 0.54 GB, free: 15.79 MB / 398.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.009761/0.519, allocations: 3.392 MB / 0.5433 GB, free: 13.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.519, allocations: 10.31 kB / 0.5433 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00564/0.5247, allocations: 1.658 MB / 0.545 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.5284, allocations: 1.526 MB / 0.5464 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.5286, allocations: 189.4 kB / 0.5466 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.5297, allocations: 236.6 kB / 0.5469 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.5454, allocations: 7.499 MB / 0.5542 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.5456, allocations: 11.88 kB / 0.5542 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009142/0.5465, allocations: 106.8 kB / 0.5543 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/0.5491, allocations: 1.574 MB / 0.5558 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.5631, allocations: 6.266 MB / 0.5619 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03559/0.5988, allocations: 23.31 MB / 0.5847 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/0.6035, allocations: 2.203 MB / 0.5869 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.6047, allocations: 0.7606 MB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006998/0.6117, allocations: 3.897 MB / 0.5914 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.6118, allocations: 43.06 kB / 0.5915 GB, free: 12.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.827e-06/0.6118, allocations: 4 kB / 0.5915 GB, free: 12.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006164/0.6179, allocations: 2.248 MB / 0.5937 GB, free: 10.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.618, allocations: 55.97 kB / 0.5937 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.6216, allocations: 2.105 MB / 0.5958 GB, free: 7.965 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/0.6217, allocations: 40.36 kB / 0.5958 GB, free: 7.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/0.6234, allocations: 2.119 MB / 0.5979 GB, free: 5.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.6238, allocations: 341.2 kB / 0.5982 GB, free: 5.465 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.6248, allocations: 0.6617 MB / 0.5988 GB, free: 4.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.625, allocations: 305.1 kB / 0.5991 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.6264, allocations: 0.9392 MB / 0.6 GB, free: 3.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.6292, allocations: 2.92 MB / 0.6029 GB, free: 15.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005317/0.6345, allocations: 4.208 MB / 0.607 GB, free: 10.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.571e-05/0.6346, allocations: 20 kB / 0.607 GB, free: 10.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006445/0.6411, allocations: 3.748 MB / 0.6107 GB, free: 6.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.6412, allocations: 40.94 kB / 0.6107 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.6413, allocations: 75.92 kB / 0.6108 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.6414, allocations: 96 kB / 0.6109 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.6435, allocations: 0.6979 MB / 0.6116 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001325/0.6437, allocations: 139.4 kB / 0.6117 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.6462, allocations: 449.2 kB / 0.6121 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003538/0.6465, allocations: 192 kB / 0.6123 GB, free: 5.023 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.002821/0.6494, allocations: 1.564 MB / 0.6138 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.6497, allocations: 181.6 kB / 0.614 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.6502, allocations: 214.7 kB / 0.6142 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.6502, allocations: 15.98 kB / 0.6142 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.6502, allocations: 0 / 0.6142 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6503, allocations: 0 / 0.6142 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/0.6598, allocations: 5.068 MB / 0.6192 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.6598, allocations: 12.03 kB / 0.6192 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.6603, allocations: 119.8 kB / 0.6193 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/0.6604, allocations: 12 kB / 0.6193 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.6604, allocations: 27.92 kB / 0.6194 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/0.6605, allocations: 19.92 kB / 0.6194 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.6605, allocations: 11.94 kB / 0.6194 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.6622, allocations: 1.405 MB / 0.6208 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/0.6629, allocations: 290.3 kB / 0.621 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/0.6633, allocations: 27.92 kB / 0.6211 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/0.6641, allocations: 31.89 kB / 0.6211 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.6642, allocations: 63.81 kB / 0.6211 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.6643, allocations: 38.95 kB / 0.6212 GB, free: 11.63 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002526/0.6668, allocations: 1.477 MB / 0.6226 GB, free: 10.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.334e-06/0.6668, allocations: 0 / 0.6226 GB, free: 10.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003084/0.6699, allocations: 0.8124 MB / 0.6234 GB, free: 9.316 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.0003714/0.6703, allocations: 153.1 kB / 0.6236 GB, free: 9.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003877/0.6742, allocations: 2.388 MB / 0.6259 GB, free: 6.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.6742, allocations: 8.125 kB / 0.6259 GB, free: 6.773 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.6749, allocations: 0.4979 MB / 0.6264 GB, free: 6.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.6768, allocations: 292 kB / 0.6267 GB, free: 6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.6901, allocations: 7.918 MB / 0.6344 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003841/0.694, allocations: 2.615 MB / 0.637 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.6946, allocations: 159.4 kB / 0.6371 GB, free: 11.14 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6946, allocations: 0 / 0.6371 GB, free: 11.14 MB / 494.1 MB Notification: Performance of Templates: time 0.05183/0.7464, allocations: 34.75 MB / 0.671 GB, free: 8.445 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