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.0009131/0.0009133, allocations: 95.98 kB / 16.99 MB, free: 5.941 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.0009842/0.0009843, allocations: 180.2 kB / 17.87 MB, free: 5.609 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.487/1.487, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 15.11 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 61.91 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.04264/0.1735, allocations: 45.03 MB / 0.5044 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3482/0.5217, allocations: 10.12 MB / 0.5143 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/0.5348, allocations: 215.5 kB / 0.5145 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.5462, allocations: 2.328 MB / 0.5167 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02836/0.5746, allocations: 6.488 MB / 0.5231 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.5779, allocations: 288 kB / 0.5233 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004893/0.5828, allocations: 1.414 MB / 0.5247 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007943/0.5908, allocations: 3.762 MB / 0.5284 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.5927, allocations: 0.6305 MB / 0.529 GB, free: 7.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.5949, allocations: 0.7808 MB / 0.5298 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007771/0.5957, allocations: 103.8 kB / 0.5299 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.5976, allocations: 0.5361 MB / 0.5304 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.5995, allocations: 1.095 MB / 0.5315 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.6012, allocations: 0.6145 MB / 0.5321 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00578/0.607, allocations: 4.148 MB / 0.5361 GB, free: 3.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.607, allocations: 4 kB / 0.5361 GB, free: 3.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.607, allocations: 0 / 0.5361 GB, free: 3.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003209/0.6074, allocations: 0 / 0.5361 GB, free: 3.859 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.008299/0.6157, allocations: 2.86 MB / 0.5389 GB, free: 2.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.6158, allocations: 9.719 kB / 0.5389 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/0.6227, allocations: 1.993 MB / 0.5409 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.6276, allocations: 1.508 MB / 0.5423 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.6279, allocations: 184 kB / 0.5425 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.6292, allocations: 240.6 kB / 0.5427 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.6473, allocations: 7.518 MB / 0.5501 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.6475, allocations: 15.88 kB / 0.5501 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/0.6487, allocations: 110 kB / 0.5502 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002925/0.6517, allocations: 1.567 MB / 0.5517 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.6665, allocations: 6.287 MB / 0.5579 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.7127, allocations: 23.36 MB / 0.5807 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005651/0.7184, allocations: 2.205 MB / 0.5828 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008994/0.7274, allocations: 3.92 MB / 0.5867 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.7275, allocations: 39.12 kB / 0.5867 GB, free: 9.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 5.981e-06/0.7275, allocations: 0 / 0.5867 GB, free: 9.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006999/0.7345, allocations: 2.505 MB / 0.5892 GB, free: 6.488 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.7347, allocations: 63.91 kB / 0.5892 GB, free: 6.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004816/0.7395, allocations: 2.092 MB / 0.5913 GB, free: 4.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.7397, allocations: 33.7 kB / 0.5913 GB, free: 4.238 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.7416, allocations: 2.119 MB / 0.5934 GB, free: 2.129 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005644/0.7422, allocations: 348.2 kB / 0.5937 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.7425, allocations: 60 kB / 0.5938 GB, free: 1.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003348/0.7428, allocations: 448.9 kB / 0.5942 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.7445, allocations: 0.9314 MB / 0.5951 GB, free: 364 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/0.7477, allocations: 2.89 MB / 0.5979 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.7506, allocations: 1.653 MB / 0.5995 GB, free: 10.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-05/0.7506, allocations: 21.31 kB / 0.5995 GB, free: 10.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007815/0.7585, allocations: 3.712 MB / 0.6032 GB, free: 7.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.7586, allocations: 42.3 kB / 0.6032 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/0.7587, allocations: 71.98 kB / 0.6033 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.7589, allocations: 104.8 kB / 0.6034 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.7613, allocations: 0.7018 MB / 0.6041 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001424/0.7614, allocations: 139.5 kB / 0.6042 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/0.7643, allocations: 444.7 kB / 0.6046 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/0.7647, allocations: 196 kB / 0.6048 GB, free: 5.418 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003898/0.7686, allocations: 1.562 MB / 0.6063 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/0.7692, allocations: 169.8 kB / 0.6065 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.7699, allocations: 222.7 kB / 0.6067 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/0.7699, allocations: 14.58 kB / 0.6067 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.7699, allocations: 0 / 0.6067 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.77, allocations: 3.984 kB / 0.6067 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.7829, allocations: 5.072 MB / 0.6117 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.783, allocations: 9 kB / 0.6117 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/0.7835, allocations: 115.8 kB / 0.6118 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.917e-05/0.7836, allocations: 16 kB / 0.6118 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.7836, allocations: 23.98 kB / 0.6118 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.7837, allocations: 12 kB / 0.6118 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.7837, allocations: 11.94 kB / 0.6119 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.7861, allocations: 1.999 MB / 0.6138 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/0.7871, allocations: 302.2 kB / 0.6141 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/0.7877, allocations: 16 kB / 0.6141 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009525/0.7886, allocations: 35.88 kB / 0.6142 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.7888, allocations: 63.77 kB / 0.6142 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.7889, allocations: 32 kB / 0.6142 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003438/0.7923, allocations: 1.47 MB / 0.6157 GB, free: 9.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7923, allocations: 0 / 0.6157 GB, free: 9.707 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004553/0.7969, allocations: 0.8057 MB / 0.6165 GB, free: 8.902 MB / 462.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 (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.0004539/0.7973, allocations: 151.7 kB / 0.6166 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.8016, allocations: 2.154 MB / 0.6187 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.8016, allocations: 0 / 0.6187 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.8023, allocations: 0.5057 MB / 0.6192 GB, free: 6.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.804, allocations: 260.1 kB / 0.6195 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.8183, allocations: 7.223 MB / 0.6265 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004338/0.8227, allocations: 2.667 MB / 0.6291 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002966/0.8257, allocations: 1.04 MB / 0.6301 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.8263, allocations: 139.4 kB / 0.6303 GB, free: 10.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/0.8263, allocations: 0 / 0.6303 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Templates: time 0.03793/0.8643, allocations: 15.72 MB / 0.6456 GB, free: 10.96 MB / 494.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches