Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002088/0.002088, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 97.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3018/0.3018, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.183e-05, allocations: 7.984 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4272, allocations: 58.84 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.6503, allocations: 106.4 MB / 0.5698 GB, free: 8.918 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6507, allocations: 75.95 kB / 0.5698 GB, free: 8.844 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095/1.745, allocations: 194.8 MB / 0.7601 GB, free: 47.2 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.285e-06/1.745, allocations: 0 / 0.7601 GB, free: 47.2 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005113/1.746, allocations: 200 kB / 0.7603 GB, free: 47 MB / 475.1 MB 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.0364/1.782, allocations: 9.42 MB / 0.7695 GB, free: 37.49 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.782, allocations: 8.031 kB / 0.7695 GB, free: 37.48 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03496/1.817, allocations: 4.031 MB / 0.7734 GB, free: 33.43 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0364/1.854, allocations: 10.57 MB / 0.7837 GB, free: 22.78 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007976/1.855, allocations: 352 kB / 0.7841 GB, free: 22.43 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005951/1.861, allocations: 0.6092 MB / 0.7847 GB, free: 21.82 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03793/1.899, allocations: 14.55 MB / 0.7989 GB, free: 7.266 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06321/1.962, allocations: 20.75 MB / 0.8192 GB, free: 0.8984 MB / 491.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005553/1.962, allocations: 91.16 kB / 0.8192 GB, free: 0.8086 MB / 491.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004709/1.967, allocations: 55.89 kB / 0.8193 GB, free: 0.7539 MB / 491.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006534/1.974, allocations: 2.275 MB / 0.8215 GB, free: 14.47 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.584/2.558, allocations: 93.9 MB / 0.9132 GB, free: 35.17 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009515/2.567, allocations: 4.142 MB / 0.9173 GB, free: 34.49 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004623/2.572, allocations: 1.927 MB / 0.9191 GB, free: 34.45 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/2.572, allocations: 65.17 kB / 0.9192 GB, free: 34.44 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/2.573, allocations: 70.94 kB / 0.9193 GB, free: 34.4 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=330): time 8.957e-06/2.573, allocations: 0 / 0.9193 GB, free: 34.4 MB / 0.4952 GB Notification: Performance of matching and sorting (n=342): time 0.05461/2.627, allocations: 14.9 MB / 0.9338 GB, free: 28.73 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/2.627, allocations: 169.6 kB / 0.934 GB, free: 28.57 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01637/2.644, allocations: 5.684 MB / 0.9395 GB, free: 27.84 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.000829/2.645, allocations: 29.23 kB / 0.9396 GB, free: 27.81 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005694/2.65, allocations: 6.784 MB / 0.9462 GB, free: 22.74 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/2.652, allocations: 1.267 MB / 0.9474 GB, free: 21.81 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/2.654, allocations: 0 / 0.9474 GB, free: 21.81 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001217/2.656, allocations: 0.7721 MB / 0.9482 GB, free: 21.3 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008131/2.664, allocations: 2.865 MB / 0.951 GB, free: 20.29 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01268/2.676, allocations: 9.654 MB / 0.9604 GB, free: 10.07 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/2.688, allocations: 5.153 MB / 0.9654 GB, free: 8.457 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002758/2.689, allocations: 71.69 kB / 0.9655 GB, free: 8.457 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.03008/2.719, allocations: 10.87 MB / 0.9761 GB, free: 4.895 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/2.719, allocations: 109.5 kB / 0.9762 GB, free: 4.895 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003506/2.719, allocations: 244.6 kB / 0.9765 GB, free: 4.895 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/2.72, allocations: 356.9 kB / 0.9768 GB, free: 4.895 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01721/2.737, allocations: 2.727 MB / 0.9795 GB, free: 4.555 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004124/2.738, allocations: 479.8 kB / 0.9799 GB, free: 4.453 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01339/2.751, allocations: 499.8 kB / 0.9804 GB, free: 4.426 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/2.754, allocations: 0.6664 MB / 0.981 GB, free: 4.34 MB / 0.4952 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.002857/2.757, allocations: 0.715 MB / 0.9817 GB, free: 3.754 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/2.758, allocations: 0.6244 MB / 0.9823 GB, free: 3.406 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009756/2.768, allocations: 3.561 MB / 0.9858 GB, free: 0.6133 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.583e-05/2.768, allocations: 36 kB / 0.9859 GB, free: 0.5781 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/2.768, allocations: 10.58 kB / 0.9859 GB, free: 0.5703 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/2.768, allocations: 18.62 kB / 0.9859 GB, free: 0.5664 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08931/2.857, allocations: 36.91 MB / 1.022 GB, free: 500 kB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002833/2.858, allocations: 80 kB / 1.022 GB, free: 420 kB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006024/2.864, allocations: 0.8141 MB / 1.023 GB, free: 15.71 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/2.864, allocations: 120 kB / 1.023 GB, free: 15.59 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008748/2.865, allocations: 127.2 kB / 1.023 GB, free: 15.47 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001812/2.865, allocations: 160.7 kB / 1.023 GB, free: 15.33 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001305/2.865, allocations: 131.8 kB / 1.023 GB, free: 15.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4186/3.284, allocations: 22.5 MB / 1.045 GB, free: 110.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/3.287, allocations: 0.7642 MB / 1.046 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/3.289, allocations: 124 kB / 1.046 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007232/3.296, allocations: 189.8 kB / 1.046 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001498/3.298, allocations: 0.5539 MB / 1.047 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009454/3.299, allocations: 229 kB / 1.047 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.01134/3.31, allocations: 3.791 MB / 1.051 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.242e-06/3.31, allocations: 0 / 1.051 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01631/3.327, allocations: 1.599 MB / 1.052 GB, free: 109.9 MB / 0.5421 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.00184/3.328, allocations: 305.5 kB / 1.053 GB, free: 109.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0185/3.347, allocations: 6.751 MB / 1.059 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 8.069e-05/3.347, allocations: 13.66 kB / 1.059 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.005376/3.353, allocations: 1.89 MB / 1.061 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009097/3.362, allocations: 0.8555 MB / 1.062 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05595/3.418, allocations: 19.15 MB / 1.081 GB, free: 103.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0196/3.437, allocations: 7.133 MB / 1.088 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002967/3.44, allocations: 0.559 MB / 1.088 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of SimCode: time 1.583e-06/3.44, allocations: 2.906 kB / 1.088 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.2306/3.671, allocations: 109.5 MB / 1.195 GB, free: 37.15 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches