Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.0007869, allocations: 94.28 kB / 261.8 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1805/0.1805, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.352e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5188, allocations: 106.3 MB / 0.5698 GB, free: 5.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.519, allocations: 81.55 kB / 0.5699 GB, free: 5.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7175/1.237, allocations: 194.8 MB / 0.7601 GB, free: 90 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/1.237, allocations: 3.75 kB / 0.7601 GB, free: 90 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004502/1.237, allocations: 192.9 kB / 0.7603 GB, free: 90 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.02992/1.267, allocations: 9.424 MB / 0.7695 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.267, allocations: 10.5 kB / 0.7695 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/1.29, allocations: 4.027 MB / 0.7735 GB, free: 85.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02526/1.315, allocations: 10.56 MB / 0.7838 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008744/1.316, allocations: 346.3 kB / 0.7841 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005887/1.322, allocations: 0.6104 MB / 0.7847 GB, free: 84.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0281/1.35, allocations: 14.55 MB / 0.7989 GB, free: 82.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/1.398, allocations: 20.75 MB / 0.8192 GB, free: 68.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005733/1.398, allocations: 95.53 kB / 0.8193 GB, free: 68.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004659/1.403, allocations: 56.19 kB / 0.8193 GB, free: 68.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003585/1.407, allocations: 2.28 MB / 0.8215 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5234/1.93, allocations: 93.89 MB / 0.9132 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007797/1.938, allocations: 4.14 MB / 0.9173 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003428/1.942, allocations: 1.93 MB / 0.9192 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/1.942, allocations: 65.81 kB / 0.9192 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/1.942, allocations: 67.64 kB / 0.9193 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=330): time 5.851e-06/1.942, allocations: 0 / 0.9193 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.03569/1.978, allocations: 14.9 MB / 0.9338 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/1.978, allocations: 169.4 kB / 0.934 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009642/1.987, allocations: 5.68 MB / 0.9396 GB, free: 42.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009151/1.988, allocations: 27.8 kB / 0.9396 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004531/1.993, allocations: 6.968 MB / 0.9464 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0019/1.995, allocations: 1.271 MB / 0.9476 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/1.995, allocations: 0 / 0.9476 GB, free: 38.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005683/1.996, allocations: 0.7695 MB / 0.9484 GB, free: 37.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/2, allocations: 2.863 MB / 0.9512 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/2.006, allocations: 9.652 MB / 0.9606 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006936/2.013, allocations: 5.163 MB / 0.9656 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/2.013, allocations: 69.72 kB / 0.9657 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.0212/2.035, allocations: 11.07 MB / 0.9765 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/2.035, allocations: 115 kB / 0.9766 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002739/2.035, allocations: 242 kB / 0.9769 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/2.036, allocations: 360.8 kB / 0.9772 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009012/2.045, allocations: 2.714 MB / 0.9799 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005152/2.045, allocations: 484.1 kB / 0.9803 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.055, allocations: 0.4909 MB / 0.9808 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/2.057, allocations: 0.6689 MB / 0.9814 GB, free: 27.97 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1115 * Number of states: 0 () * Number of discrete variables: 72 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1423): * Single equations (assignments): 1420 * 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.003312/2.061, allocations: 0.7093 MB / 0.9821 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/2.063, allocations: 0.6219 MB / 0.9827 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007825/2.071, allocations: 3.567 MB / 0.9862 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/2.071, allocations: 32.88 kB / 0.9863 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.897e-05/2.071, allocations: 3.25 kB / 0.9863 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.875e-05/2.071, allocations: 17.72 kB / 0.9863 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05667/2.127, allocations: 36.91 MB / 1.022 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003305/2.128, allocations: 89.03 kB / 1.022 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003259/2.131, allocations: 0.8053 MB / 1.023 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/2.131, allocations: 120 kB / 1.023 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007932/2.132, allocations: 123.4 kB / 1.023 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001256/2.132, allocations: 164.4 kB / 1.024 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-05/2.132, allocations: 131.4 kB / 1.024 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/2.151, allocations: 22.57 MB / 1.046 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003108/2.154, allocations: 0.7685 MB / 1.047 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002348/2.156, allocations: 130.2 kB / 1.047 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/2.161, allocations: 191.6 kB / 1.047 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009902/2.162, allocations: 0.5431 MB / 1.047 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007763/2.163, allocations: 231.1 kB / 1.048 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01128/2.174, allocations: 3.797 MB / 1.051 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.91e-07/2.174, allocations: 0 / 1.051 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01601/2.19, allocations: 1.591 MB / 1.053 GB, free: 9.238 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.001757/2.192, allocations: 303.7 kB / 1.053 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01486/2.207, allocations: 6.763 MB / 1.06 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-05/2.207, allocations: 12 kB / 1.06 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003694/2.211, allocations: 1.894 MB / 1.062 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00675/2.217, allocations: 0.8465 MB / 1.062 GB, free: 420 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0498/2.267, allocations: 18.1 MB / 1.08 GB, free: 15.06 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02067/2.288, allocations: 7.132 MB / 1.087 GB, free: 9.875 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01347/2.301, allocations: 3.403 MB / 1.09 GB, free: 7.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/2.304, allocations: 486.7 kB / 1.091 GB, free: 7.301 MB / 0.573 GB Notification: Performance of SimCode: time 1.102e-06/2.304, allocations: 0 / 1.091 GB, free: 7.301 MB / 0.573 GB Notification: Performance of Templates: time 0.4885/2.792, allocations: 49.16 MB / 1.139 GB, free: 173 MB / 0.6042 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches