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.002111/0.002111, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 98.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.544, allocations: 107.1 MB / 0.5833 GB, free: 8.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5442, allocations: 82.89 kB / 0.5834 GB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.733/1.277, allocations: 199.4 MB / 0.7781 GB, free: 93.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.317e-06/1.277, allocations: 0 / 0.7781 GB, free: 93.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005375/1.278, allocations: 204.8 kB / 0.7783 GB, free: 93.13 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.03677/1.315, allocations: 10 MB / 0.7881 GB, free: 89.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.315, allocations: 14.58 kB / 0.7881 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02256/1.337, allocations: 4.038 MB / 0.792 GB, free: 88.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02862/1.366, allocations: 10.63 MB / 0.8024 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/1.367, allocations: 0.7921 MB / 0.8032 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006595/1.374, allocations: 1.035 MB / 0.8042 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0634/1.437, allocations: 24.42 MB / 0.8281 GB, free: 65.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006584/1.438, allocations: 95.05 kB / 0.8281 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006188/1.444, allocations: 492.4 kB / 0.8286 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/1.448, allocations: 2.274 MB / 0.8308 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04584/1.494, allocations: 19.53 MB / 0.8499 GB, free: 42.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5044/1.998, allocations: 94.24 MB / 0.9419 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/2.021, allocations: 7.736 MB / 0.9495 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0261/2.047, allocations: 13.3 MB / 0.9625 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/2.047, allocations: 76.73 kB / 0.9626 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 6.332e-06/2.047, allocations: 0 / 0.9626 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.0557/2.103, allocations: 20.87 MB / 0.9829 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/2.103, allocations: 160 kB / 0.9831 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01239/2.115, allocations: 6.617 MB / 0.9896 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008402/2.116, allocations: 83.83 kB / 0.9896 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004538/2.121, allocations: 6.821 MB / 0.9963 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002052/2.123, allocations: 1.361 MB / 0.9976 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/2.123, allocations: 211.3 kB / 0.9978 GB, free: 41.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006646/2.124, allocations: 0.7551 MB / 0.9986 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00609/2.13, allocations: 3.227 MB / 1.002 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009003/2.139, allocations: 9.717 MB / 1.011 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/2.15, allocations: 5.407 MB / 1.016 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003047/2.151, allocations: 68 kB / 1.017 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03231/2.183, allocations: 12.66 MB / 1.029 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005029/2.184, allocations: 103.7 kB / 1.029 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007161/2.184, allocations: 236.3 kB / 1.029 GB, free: 26.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/2.185, allocations: 341.4 kB / 1.03 GB, free: 26.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/2.195, allocations: 2.627 MB / 1.032 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005947/2.196, allocations: 451.7 kB / 1.033 GB, free: 26.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/2.207, allocations: 0.6829 MB / 1.033 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002814/2.21, allocations: 0.6404 MB / 1.034 GB, free: 25.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1369): * Single equations (assignments): 1366 * 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.01377/2.224, allocations: 4.526 MB / 1.038 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/2.226, allocations: 0.666 MB / 1.039 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/2.235, allocations: 4.1 MB / 1.043 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.875e-05/2.235, allocations: 43.34 kB / 1.043 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/2.235, allocations: 0 / 1.043 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/2.236, allocations: 19.59 kB / 1.043 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.068/2.304, allocations: 41.84 MB / 1.084 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001867/2.304, allocations: 91.84 kB / 1.084 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003159/2.307, allocations: 0.847 MB / 1.085 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/2.307, allocations: 128 kB / 1.085 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003426/2.307, allocations: 191.5 kB / 1.085 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001138/2.308, allocations: 171.7 kB / 1.085 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.669e-05/2.308, allocations: 139.4 kB / 1.085 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/2.327, allocations: 25.27 MB / 1.11 GB, free: 6.02 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003592/2.33, allocations: 0.8373 MB / 1.111 GB, free: 5.195 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00206/2.332, allocations: 200 kB / 1.111 GB, free: 5.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008135/2.341, allocations: 265.2 kB / 1.111 GB, free: 4.805 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002398/2.343, allocations: 0.5698 MB / 1.112 GB, free: 4.336 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008449/2.344, allocations: 246.1 kB / 1.112 GB, free: 4.105 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01646/2.36, allocations: 4.664 MB / 1.117 GB, free: 352 kB / 0.573 GB Notification: Performance of sort global known variables: time 7.91e-07/2.36, allocations: 0 / 1.117 GB, free: 352 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.03548/2.396, allocations: 2.61 MB / 1.119 GB, free: 0 / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.3681/2.764, allocations: 410.8 kB / 1.12 GB, free: 148 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.782, allocations: 7.556 MB / 1.127 GB, free: 147.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.001e-05/2.782, allocations: 13.25 kB / 1.127 GB, free: 147.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004903/2.787, allocations: 2.167 MB / 1.129 GB, free: 147.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008958/2.796, allocations: 1.074 MB / 1.13 GB, free: 147.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05372/2.85, allocations: 26.33 MB / 1.156 GB, free: 134.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01751/2.867, allocations: 7.168 MB / 1.163 GB, free: 133.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01374/2.881, allocations: 3.331 MB / 1.166 GB, free: 133.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/2.884, allocations: 0.4947 MB / 1.167 GB, free: 133.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.974e-06/2.884, allocations: 0 / 1.167 GB, free: 133.5 MB / 0.573 GB Notification: Performance of Templates: time 0.128/3.012, allocations: 57.67 MB / 1.223 GB, free: 121.7 MB / 0.573 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