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.00101/0.00101, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.534/1.534, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008931/0.0008932, allocations: 86.28 kB / 261.7 MB, free: 1.68 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.1824/0.1824, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.506e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5133, allocations: 106.4 MB / 0.5698 GB, free: 5.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5136, allocations: 79.95 kB / 0.5699 GB, free: 5.305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.752/1.266, allocations: 196 MB / 0.7613 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/1.266, allocations: 0 / 0.7613 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006885/1.266, allocations: 196.3 kB / 0.7615 GB, free: 86.93 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.03226/1.299, allocations: 9.423 MB / 0.7707 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.299, allocations: 10.66 kB / 0.7707 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02273/1.321, allocations: 4.038 MB / 0.7746 GB, free: 82.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02533/1.347, allocations: 10.56 MB / 0.785 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007786/1.348, allocations: 346.4 kB / 0.7853 GB, free: 81.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005285/1.353, allocations: 0.613 MB / 0.7859 GB, free: 81.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02745/1.38, allocations: 14.55 MB / 0.8001 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04601/1.426, allocations: 20.75 MB / 0.8203 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006726/1.427, allocations: 97.69 kB / 0.8204 GB, free: 66.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00462/1.432, allocations: 51.95 kB / 0.8205 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003688/1.435, allocations: 2.284 MB / 0.8227 GB, free: 64.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5278/1.963, allocations: 93.88 MB / 0.9144 GB, free: 45.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008774/1.972, allocations: 4.151 MB / 0.9185 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004076/1.976, allocations: 1.932 MB / 0.9203 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/1.977, allocations: 60.78 kB / 0.9204 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/1.977, allocations: 72.14 kB / 0.9205 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=330): time 7.604e-06/1.977, allocations: 0 / 0.9205 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.0366/2.013, allocations: 14.9 MB / 0.935 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.013, allocations: 165.3 kB / 0.9352 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/2.024, allocations: 5.684 MB / 0.9407 GB, free: 39.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008952/2.025, allocations: 29.3 kB / 0.9408 GB, free: 39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004869/2.03, allocations: 6.979 MB / 0.9476 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/2.032, allocations: 1.268 MB / 0.9488 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006042/2.032, allocations: 0 / 0.9488 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005862/2.033, allocations: 0.7766 MB / 0.9496 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003998/2.037, allocations: 2.866 MB / 0.9524 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006954/2.044, allocations: 9.648 MB / 0.9618 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006969/2.051, allocations: 5.167 MB / 0.9668 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001837/2.051, allocations: 72.77 kB / 0.9669 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.0215/2.072, allocations: 11.06 MB / 0.9777 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/2.073, allocations: 107.8 kB / 0.9778 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004403/2.073, allocations: 245.4 kB / 0.978 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/2.074, allocations: 358.5 kB / 0.9784 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009241/2.083, allocations: 2.725 MB / 0.981 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003934/2.083, allocations: 477.7 kB / 0.9815 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00995/2.093, allocations: 497.6 kB / 0.982 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/2.096, allocations: 0.666 MB / 0.9826 GB, free: 24.29 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 (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 () * 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.003334/2.099, allocations: 0.7231 MB / 0.9833 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.101, allocations: 0.6147 MB / 0.9839 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007555/2.108, allocations: 3.571 MB / 0.9874 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/2.108, allocations: 36.02 kB / 0.9875 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/2.108, allocations: 9.688 kB / 0.9875 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-05/2.109, allocations: 16.88 kB / 0.9875 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06006/2.169, allocations: 45.71 MB / 1.032 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.436e-05/2.169, allocations: 71.95 kB / 1.032 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/2.171, allocations: 0.7004 MB / 1.033 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.505e-05/2.171, allocations: 96 kB / 1.033 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/2.171, allocations: 110.8 kB / 1.033 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.008e-05/2.171, allocations: 133.4 kB / 1.033 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.221e-05/2.172, allocations: 107.6 kB / 1.033 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/2.186, allocations: 19.02 MB / 1.052 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/2.188, allocations: 0.7272 MB / 1.053 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007259/2.189, allocations: 101.9 kB / 1.053 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/2.192, allocations: 207.2 kB / 1.053 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000565/2.192, allocations: 459.1 kB / 1.053 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003096/2.193, allocations: 202.5 kB / 1.054 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007303/2.2, allocations: 3.786 MB / 1.057 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/2.2, allocations: 0 / 1.057 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01269/2.213, allocations: 1.612 MB / 1.059 GB, free: 4.875 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.001002/2.214, allocations: 283.5 kB / 1.059 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01355/2.227, allocations: 6.805 MB / 1.066 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.923e-05/2.227, allocations: 16.06 kB / 1.066 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/2.231, allocations: 1.874 MB / 1.068 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006386/2.237, allocations: 0.8108 MB / 1.068 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04207/2.279, allocations: 17.59 MB / 1.086 GB, free: 11.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01401/2.294, allocations: 7.108 MB / 1.092 GB, free: 6.211 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01146/2.305, allocations: 3.406 MB / 1.096 GB, free: 4.086 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/2.307, allocations: 461.9 kB / 1.096 GB, free: 3.66 MB / 0.573 GB Notification: Performance of SimCode: time 8.31e-07/2.307, allocations: 0 / 1.096 GB, free: 3.66 MB / 0.573 GB Notification: Performance of Templates: time 0.4533/2.76, allocations: 47.44 MB / 1.143 GB, free: 153.1 MB / 0.5886 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