Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002163/0.002164, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001134/0.001134, allocations: 94.62 kB / 267.5 MB, free: 14.04 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.2786/0.2786, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.385e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.6339, allocations: 107 MB / 0.5773 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.6343, allocations: 77.31 kB / 0.5774 GB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18/1.814, allocations: 200.8 MB / 0.7735 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/1.814, allocations: 0 / 0.7735 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005178/1.814, allocations: 196.9 kB / 0.7737 GB, free: 88.05 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.03712/1.852, allocations: 9.423 MB / 0.7829 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.852, allocations: 13.81 kB / 0.7829 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03457/1.886, allocations: 4.038 MB / 0.7868 GB, free: 83.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.036/1.922, allocations: 10.58 MB / 0.7972 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001079/1.923, allocations: 0.7922 MB / 0.7979 GB, free: 82.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0061/1.93, allocations: 1.04 MB / 0.799 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07715/2.007, allocations: 24.09 MB / 0.8225 GB, free: 65.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007612/2.008, allocations: 95.16 kB / 0.8226 GB, free: 65.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005581/2.013, allocations: 495 kB / 0.823 GB, free: 65.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005704/2.019, allocations: 2.277 MB / 0.8253 GB, free: 63.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06308/2.082, allocations: 18.98 MB / 0.8438 GB, free: 44.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5968/2.679, allocations: 94.23 MB / 0.9358 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03569/2.715, allocations: 7.544 MB / 0.9432 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007556/2.722, allocations: 3.032 MB / 0.9462 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04092/2.763, allocations: 13.31 MB / 0.9592 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/2.763, allocations: 73.84 kB / 0.9592 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 8.116e-06/2.763, allocations: 0 / 0.9592 GB, free: 47.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.08606/2.849, allocations: 18.78 MB / 0.9776 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/2.85, allocations: 166.3 kB / 0.9777 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01758/2.867, allocations: 6.419 MB / 0.984 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000815/2.868, allocations: 80.83 kB / 0.9841 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005658/2.874, allocations: 6.567 MB / 0.9905 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/2.876, allocations: 1.352 MB / 0.9918 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/2.878, allocations: 212.9 kB / 0.992 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001225/2.879, allocations: 0.7678 MB / 0.9928 GB, free: 35.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008736/2.888, allocations: 2.989 MB / 0.9957 GB, free: 35.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/2.901, allocations: 9.487 MB / 1.005 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01278/2.913, allocations: 5.249 MB / 1.01 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003041/2.914, allocations: 66.62 kB / 1.01 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03284/2.947, allocations: 11.95 MB / 1.022 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/2.947, allocations: 104.7 kB / 1.022 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004181/2.947, allocations: 231.9 kB / 1.022 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/2.948, allocations: 342 kB / 1.022 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01696/2.965, allocations: 2.618 MB / 1.025 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004886/2.965, allocations: 460.5 kB / 1.025 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01403/2.979, allocations: 0.6796 MB / 1.026 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002676/2.982, allocations: 0.6395 MB / 1.027 GB, free: 22.96 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 () * 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.004172/2.986, allocations: 0.9479 MB / 1.028 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001815/2.988, allocations: 0.6696 MB / 1.028 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/3.003, allocations: 3.982 MB / 1.032 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.494e-05/3.004, allocations: 39.34 kB / 1.032 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-05/3.004, allocations: 4 kB / 1.032 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000121/3.004, allocations: 18.61 kB / 1.032 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1614/3.165, allocations: 50.06 MB / 1.081 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000445/3.166, allocations: 75.95 kB / 1.081 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007349/3.173, allocations: 0.7341 MB / 1.082 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/3.174, allocations: 108 kB / 1.082 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001356/3.175, allocations: 169.8 kB / 1.082 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002562/3.175, allocations: 132.5 kB / 1.082 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001615/3.175, allocations: 115.5 kB / 1.082 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03244/3.208, allocations: 21.44 MB / 1.103 GB, free: 5.949 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/3.211, allocations: 0.7865 MB / 1.104 GB, free: 5.172 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002747/3.214, allocations: 174.5 kB / 1.104 GB, free: 5.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007741/3.222, allocations: 270.6 kB / 1.105 GB, free: 4.809 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/3.223, allocations: 486.8 kB / 1.105 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006683/3.224, allocations: 206 kB / 1.105 GB, free: 4.23 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01415/3.238, allocations: 4.474 MB / 1.11 GB, free: 328 kB / 0.573 GB Notification: Performance of sort global known variables: time 9.22e-07/3.238, allocations: 3.938 kB / 1.11 GB, free: 324 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.02723/3.265, allocations: 2.62 MB / 1.112 GB, free: 0 / 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 () * 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.001713/3.267, allocations: 355.8 kB / 1.113 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01975/3.287, allocations: 7.315 MB / 1.12 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.661e-05/3.287, allocations: 8 kB / 1.12 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005746/3.293, allocations: 2.068 MB / 1.122 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009335/3.302, allocations: 1.038 MB / 1.123 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4627/3.765, allocations: 19.18 MB / 1.141 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02196/3.787, allocations: 7.141 MB / 1.148 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003293/3.79, allocations: 0.5767 MB / 1.149 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.492e-06/3.79, allocations: 0 / 1.149 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.2331/4.024, allocations: 114.3 MB / 1.261 GB, free: 104.1 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches