Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,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.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 183.9 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.751/1.751, 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.0008986/0.0008984, allocations: 94.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.2036/0.2036, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.6098, allocations: 107.1 MB / 0.5833 GB, free: 9.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.6101, allocations: 80.52 kB / 0.5834 GB, free: 8.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7364/1.347, allocations: 200.6 MB / 0.7793 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.235e-06/1.347, allocations: 0 / 0.7793 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008103/1.347, allocations: 197.4 kB / 0.7795 GB, free: 90.02 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.03875/1.386, allocations: 9.993 MB / 0.7893 GB, free: 86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.386, allocations: 10.72 kB / 0.7893 GB, free: 86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/1.41, allocations: 4.043 MB / 0.7932 GB, free: 85.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03086/1.441, allocations: 10.62 MB / 0.8036 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/1.442, allocations: 0.7921 MB / 0.8044 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006564/1.449, allocations: 1.042 MB / 0.8054 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06663/1.516, allocations: 24.42 MB / 0.8292 GB, free: 61.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007034/1.516, allocations: 95.16 kB / 0.8293 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006461/1.523, allocations: 493.5 kB / 0.8298 GB, free: 61.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004069/1.527, allocations: 2.278 MB / 0.832 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04304/1.57, allocations: 19.53 MB / 0.8511 GB, free: 39.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5123/2.082, allocations: 94.23 MB / 0.9431 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02228/2.105, allocations: 7.659 MB / 0.9506 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03148/2.136, allocations: 13.3 MB / 0.9636 GB, free: 49.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.443e-05/2.136, allocations: 68.44 kB / 0.9636 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 1.607e-05/2.136, allocations: 3.938 kB / 0.9636 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.08141/2.218, allocations: 20.87 MB / 0.984 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/2.218, allocations: 163 kB / 0.9842 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01952/2.238, allocations: 6.617 MB / 0.9906 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/2.239, allocations: 81.05 kB / 0.9907 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006259/2.245, allocations: 6.82 MB / 0.9974 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002289/2.247, allocations: 1.357 MB / 0.9987 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/2.249, allocations: 213.3 kB / 0.9989 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001633/2.251, allocations: 0.7567 MB / 0.9996 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008012/2.259, allocations: 3.215 MB / 1.003 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/2.271, allocations: 9.726 MB / 1.012 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/2.283, allocations: 5.405 MB / 1.018 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007575/2.284, allocations: 67.19 kB / 1.018 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03529/2.319, allocations: 12.67 MB / 1.03 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007021/2.32, allocations: 109.4 kB / 1.03 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007908/2.321, allocations: 232.8 kB / 1.03 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006806/2.322, allocations: 344.9 kB / 1.031 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/2.332, allocations: 2.616 MB / 1.033 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005934/2.333, allocations: 459.8 kB / 1.034 GB, free: 23.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/2.344, allocations: 0.6817 MB / 1.034 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002574/2.347, allocations: 0.6371 MB / 1.035 GB, free: 23.21 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.01323/2.36, allocations: 4.522 MB / 1.039 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002201/2.362, allocations: 0.6685 MB / 1.04 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/2.373, allocations: 4.11 MB / 1.044 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.811e-05/2.373, allocations: 35.5 kB / 1.044 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-05/2.373, allocations: 3.406 kB / 1.044 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.787e-05/2.373, allocations: 16.64 kB / 1.044 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07619/2.449, allocations: 50.47 MB / 1.093 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/2.45, allocations: 72 kB / 1.093 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002897/2.453, allocations: 0.736 MB / 1.094 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-05/2.453, allocations: 104 kB / 1.094 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/2.453, allocations: 165.5 kB / 1.094 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.833e-05/2.453, allocations: 144.1 kB / 1.095 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-05/2.453, allocations: 111.5 kB / 1.095 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/2.471, allocations: 21.53 MB / 1.116 GB, free: 2.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/2.474, allocations: 0.8042 MB / 1.116 GB, free: 2.141 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/2.476, allocations: 168.6 kB / 1.117 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004339/2.481, allocations: 277 kB / 1.117 GB, free: 1.773 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006847/2.481, allocations: 486.2 kB / 1.117 GB, free: 1.387 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/2.482, allocations: 211.3 kB / 1.118 GB, free: 1.191 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.3634/2.845, allocations: 4.929 MB / 1.122 GB, free: 145.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/2.845, allocations: 3.75 kB / 1.122 GB, free: 145.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.015/2.86, allocations: 1.878 MB / 1.124 GB, free: 145.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.00167/2.862, allocations: 373.8 kB / 1.125 GB, free: 145.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01824/2.88, allocations: 7.581 MB / 1.132 GB, free: 145.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.708e-05/2.88, allocations: 11.44 kB / 1.132 GB, free: 145.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004223/2.884, allocations: 2.125 MB / 1.134 GB, free: 145.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007468/2.892, allocations: 1.033 MB / 1.135 GB, free: 145.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04866/2.941, allocations: 25.84 MB / 1.16 GB, free: 132.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01689/2.958, allocations: 7.141 MB / 1.167 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01426/2.972, allocations: 3.327 MB / 1.171 GB, free: 131.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/2.974, allocations: 487 kB / 1.171 GB, free: 131.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.253e-06/2.974, allocations: 0 / 1.171 GB, free: 131.7 MB / 0.573 GB Notification: Performance of Templates: time 0.1239/3.098, allocations: 56.37 MB / 1.226 GB, free: 119.1 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches