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.0009424/0.0009424, allocations: 183 kB / 13.19 MB, free: 2.129 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.197/1.197, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007517/0.0007518, allocations: 93.84 kB / 267.1 MB, free: 9.281 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.3184/0.3184, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.168e-05, allocations: 0 / 425.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 58.84 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/0.4323, allocations: 107 MB / 0.5773 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4325, allocations: 83.84 kB / 0.5774 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6671/1.1, allocations: 200.8 MB / 0.7735 GB, free: 65.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.1, allocations: 0 / 0.7735 GB, free: 65.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003583/1.1, allocations: 194.8 kB / 0.7737 GB, free: 65.67 MB / 490.7 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.02557/1.126, allocations: 9.428 MB / 0.7829 GB, free: 59.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.126, allocations: 6.875 kB / 0.7829 GB, free: 59.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02105/1.147, allocations: 4.04 MB / 0.7869 GB, free: 56.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/1.169, allocations: 10.58 MB / 0.7972 GB, free: 46.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007565/1.17, allocations: 0.7916 MB / 0.798 GB, free: 45.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005122/1.175, allocations: 1.043 MB / 0.799 GB, free: 44.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05799/1.233, allocations: 24.09 MB / 0.8225 GB, free: 18.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006727/1.234, allocations: 95.5 kB / 0.8226 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006512/1.24, allocations: 499.7 kB / 0.8231 GB, free: 18.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004238/1.245, allocations: 2.271 MB / 0.8253 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04161/1.286, allocations: 18.99 MB / 0.8438 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4164/1.703, allocations: 94.24 MB / 0.9359 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.723, allocations: 7.547 MB / 0.9432 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004592/1.728, allocations: 3.034 MB / 0.9462 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02066/1.749, allocations: 13.29 MB / 0.9592 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.749, allocations: 73.53 kB / 0.9593 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 5.521e-06/1.749, allocations: 0 / 0.9593 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.043/1.792, allocations: 18.78 MB / 0.9776 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/1.792, allocations: 167.7 kB / 0.9778 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00794/1.8, allocations: 6.424 MB / 0.984 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005356/1.8, allocations: 76.48 kB / 0.9841 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.804, allocations: 6.815 MB / 0.9908 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.805, allocations: 1.362 MB / 0.9921 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/1.805, allocations: 215.8 kB / 0.9923 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004386/1.806, allocations: 0.751 MB / 0.993 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/1.809, allocations: 2.994 MB / 0.996 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006055/1.816, allocations: 9.492 MB / 1.005 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/1.823, allocations: 5.238 MB / 1.01 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/1.823, allocations: 69.83 kB / 1.01 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.02481/1.848, allocations: 12.22 MB / 1.022 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003821/1.848, allocations: 102.4 kB / 1.022 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004675/1.849, allocations: 230.5 kB / 1.023 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/1.849, allocations: 344.5 kB / 1.023 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009579/1.859, allocations: 2.618 MB / 1.026 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005821/1.859, allocations: 461.3 kB / 1.026 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.87, allocations: 0.692 MB / 1.027 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002352/1.872, allocations: 0.6366 MB / 1.027 GB, free: 10.01 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.003776/1.876, allocations: 0.9393 MB / 1.028 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002274/1.878, allocations: 0.6749 MB / 1.029 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009211/1.887, allocations: 3.985 MB / 1.033 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/1.887, allocations: 36 kB / 1.033 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.887, allocations: 4 kB / 1.033 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/1.887, allocations: 16.55 kB / 1.033 GB, free: 4.949 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3574/2.245, allocations: 50.06 MB / 1.082 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001101/2.245, allocations: 72.75 kB / 1.082 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/2.248, allocations: 0.7395 MB / 1.082 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.598e-05/2.248, allocations: 104.3 kB / 1.083 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/2.248, allocations: 171.8 kB / 1.083 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.896e-05/2.248, allocations: 143.1 kB / 1.083 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.619e-05/2.248, allocations: 110.9 kB / 1.083 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/2.258, allocations: 21.43 MB / 1.104 GB, free: 93.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/2.26, allocations: 0.8016 MB / 1.105 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008288/2.261, allocations: 164.6 kB / 1.105 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/2.264, allocations: 272.8 kB / 1.105 GB, free: 93.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005193/2.265, allocations: 489.2 kB / 1.106 GB, free: 93.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/2.265, allocations: 209.5 kB / 1.106 GB, free: 93.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007499/2.273, allocations: 4.472 MB / 1.11 GB, free: 93.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/2.273, allocations: 0 / 1.11 GB, free: 93.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01054/2.283, allocations: 1.881 MB / 1.112 GB, free: 93.52 MB / 0.5417 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.0009555/2.284, allocations: 352 kB / 1.112 GB, free: 93.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01093/2.295, allocations: 7.314 MB / 1.119 GB, free: 92.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.876e-05/2.295, allocations: 10.47 kB / 1.119 GB, free: 92.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002686/2.298, allocations: 2.073 MB / 1.121 GB, free: 92.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/2.303, allocations: 1.034 MB / 1.123 GB, free: 92.65 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/2.329, allocations: 18.06 MB / 1.14 GB, free: 85.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007644/2.337, allocations: 7.136 MB / 1.147 GB, free: 83.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007839/2.345, allocations: 3.325 MB / 1.15 GB, free: 83.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/2.346, allocations: 495.2 kB / 1.151 GB, free: 83.15 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/2.346, allocations: 4 kB / 1.151 GB, free: 83.14 MB / 0.5417 GB Notification: Performance of Templates: time 0.09648/2.442, allocations: 56.4 MB / 1.206 GB, free: 50.94 MB / 0.5417 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