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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009392/0.000939, allocations: 182.5 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 242.1 MB, free: 9.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008264, allocations: 99.2 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3084/0.3084, allocations: 44.14 MB / 388.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 8 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3152, allocations: 61.88 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4444, allocations: 105.3 MB / 0.6136 GB, free: 5.738 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4447, allocations: 83.94 kB / 0.6136 GB, free: 5.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1413/0.586, allocations: 60.15 MB / 0.6724 GB, free: 9.164 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5861, allocations: 0 / 0.6724 GB, free: 9.164 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.5862, allocations: 64 kB / 0.6724 GB, free: 9.102 MB / 490.7 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.007497/0.5937, allocations: 2.892 MB / 0.6753 GB, free: 6.141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5938, allocations: 12.03 kB / 0.6753 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007689/0.6015, allocations: 1.872 MB / 0.6771 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/0.6058, allocations: 1.923 MB / 0.679 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.6062, allocations: 255.1 kB / 0.6792 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.6077, allocations: 328.3 kB / 0.6795 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2519/0.8596, allocations: 7.304 MB / 0.6867 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.425e-05/0.8597, allocations: 16.62 kB / 0.6867 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004305/0.8602, allocations: 150.6 kB / 0.6868 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.8612, allocations: 0.7052 MB / 0.6875 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.8729, allocations: 6.228 MB / 0.6936 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03038/0.9033, allocations: 25.01 MB / 0.718 GB, free: 86.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/0.908, allocations: 2.192 MB / 0.7202 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.9091, allocations: 0.7669 MB / 0.7209 GB, free: 85.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006807/0.9159, allocations: 3.89 MB / 0.7247 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.916, allocations: 38.95 kB / 0.7247 GB, free: 83.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=87): time 4.268e-06/0.916, allocations: 3.938 kB / 0.7247 GB, free: 83.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=87): time 0.006273/0.9223, allocations: 2.248 MB / 0.7269 GB, free: 82.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.9223, allocations: 59.31 kB / 0.727 GB, free: 82.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.9257, allocations: 2.085 MB / 0.729 GB, free: 82.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.9257, allocations: 35.58 kB / 0.7291 GB, free: 82.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.9273, allocations: 2.116 MB / 0.7311 GB, free: 80.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.9276, allocations: 351.8 kB / 0.7315 GB, free: 80.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.9278, allocations: 61.03 kB / 0.7315 GB, free: 80.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.928, allocations: 443.2 kB / 0.7319 GB, free: 79.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.9293, allocations: 0.8998 MB / 0.7328 GB, free: 79.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.9314, allocations: 2.86 MB / 0.7356 GB, free: 76.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.9351, allocations: 4.109 MB / 0.7396 GB, free: 73.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.003e-05/0.9351, allocations: 25.28 kB / 0.7397 GB, free: 73.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.004976/0.9401, allocations: 3.641 MB / 0.7432 GB, free: 71.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.9402, allocations: 40.56 kB / 0.7433 GB, free: 71.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.14e-05/0.9403, allocations: 65.97 kB / 0.7433 GB, free: 71.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.72e-05/0.9403, allocations: 93.06 kB / 0.7434 GB, free: 71.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.9421, allocations: 0.6994 MB / 0.7441 GB, free: 71.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.732e-05/0.9422, allocations: 136 kB / 0.7442 GB, free: 71.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.9443, allocations: 434.7 kB / 0.7446 GB, free: 71.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/0.9445, allocations: 196 kB / 0.7448 GB, free: 71.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (385): * Single equations (assignments): 382 * 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 prepare postOptimizeDAE: time 0.00248/0.947, allocations: 1.559 MB / 0.7463 GB, free: 70.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.9473, allocations: 176.8 kB / 0.7465 GB, free: 70.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.9477, allocations: 216.5 kB / 0.7467 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.9477, allocations: 15.44 kB / 0.7467 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.9477, allocations: 4 kB / 0.7467 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.9477, allocations: 0 / 0.7467 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007234/0.955, allocations: 5.074 MB / 0.7517 GB, free: 68.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.955, allocations: 7.094 kB / 0.7517 GB, free: 68.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.9554, allocations: 118.8 kB / 0.7518 GB, free: 68.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.9555, allocations: 11.78 kB / 0.7518 GB, free: 68.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.9555, allocations: 29.69 kB / 0.7518 GB, free: 68.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.9555, allocations: 14.59 kB / 0.7519 GB, free: 68.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.9555, allocations: 13.06 kB / 0.7519 GB, free: 68.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.9571, allocations: 1.409 MB / 0.7533 GB, free: 67.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.9576, allocations: 290.4 kB / 0.7535 GB, free: 67.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9577, allocations: 25.5 kB / 0.7536 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.9583, allocations: 38.55 kB / 0.7536 GB, free: 67.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.9584, allocations: 62.23 kB / 0.7536 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.9585, allocations: 40.75 kB / 0.7537 GB, free: 67.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001991/0.9605, allocations: 1.458 MB / 0.7551 GB, free: 66.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9605, allocations: 0 / 0.7551 GB, free: 66.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003337/0.9638, allocations: 0.8252 MB / 0.7559 GB, free: 66.49 MB / 490.7 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.0003556/0.9642, allocations: 158.8 kB / 0.7561 GB, free: 66.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.9671, allocations: 2.121 MB / 0.7581 GB, free: 65.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.9672, allocations: 3.969 kB / 0.7581 GB, free: 65.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.9676, allocations: 0.5014 MB / 0.7586 GB, free: 65.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/0.9709, allocations: 274.4 kB / 0.7589 GB, free: 65.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009846/0.9808, allocations: 7.23 MB / 0.766 GB, free: 61.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.9831, allocations: 2.602 MB / 0.7685 GB, free: 60.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0023/0.9855, allocations: 1.041 MB / 0.7695 GB, free: 60.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.9858, allocations: 137.8 kB / 0.7696 GB, free: 60.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9858, allocations: 4 kB / 0.7696 GB, free: 60.14 MB / 490.7 MB Notification: Performance of Templates: time 0.03277/1.019, allocations: 15.93 MB / 0.7852 GB, free: 53.49 MB / 490.7 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/jenkins1/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