Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.00153, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.883/1.883, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001084/0.001085, allocations: 88.42 kB / 270.9 MB, free: 8.367 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.5027/0.5027, allocations: 43.57 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004523, allocations: 16 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6084, allocations: 105.1 MB / 0.5814 GB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.6088, allocations: 79.95 kB / 0.5814 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019/1.628, allocations: 166.2 MB / 0.7438 GB, free: 82.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.628, allocations: 0 / 0.7438 GB, free: 82.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004562/1.629, allocations: 158.7 kB / 0.7439 GB, free: 82.48 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: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.03268/1.661, allocations: 8.534 MB / 0.7522 GB, free: 78.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.661, allocations: 6.75 kB / 0.7523 GB, free: 78.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03212/1.694, allocations: 3.681 MB / 0.7558 GB, free: 77.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03243/1.726, allocations: 9.748 MB / 0.7654 GB, free: 74.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008529/1.727, allocations: 0.6304 MB / 0.766 GB, free: 74.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004857/1.732, allocations: 0.8185 MB / 0.7668 GB, free: 73.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06148/1.793, allocations: 19.68 MB / 0.786 GB, free: 60.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005282/1.794, allocations: 99.06 kB / 0.7861 GB, free: 60.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00414/1.798, allocations: 401.8 kB / 0.7865 GB, free: 60.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00468/1.803, allocations: 1.864 MB / 0.7883 GB, free: 58.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05127/1.854, allocations: 15.54 MB / 0.8035 GB, free: 42.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5551/2.409, allocations: 81.63 MB / 0.8832 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02867/2.438, allocations: 5.989 MB / 0.889 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/2.472, allocations: 11.33 MB / 0.9001 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/2.472, allocations: 62.83 kB / 0.9002 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 6.954e-06/2.472, allocations: 0 / 0.9002 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.07695/2.549, allocations: 16.6 MB / 0.9164 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/2.549, allocations: 158.5 kB / 0.9165 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/2.569, allocations: 6.053 MB / 0.9224 GB, free: 44.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/2.57, allocations: 67.66 kB / 0.9225 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00539/2.575, allocations: 5.578 MB / 0.9279 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001645/2.577, allocations: 1.059 MB / 0.929 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/2.578, allocations: 185.7 kB / 0.9292 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001101/2.579, allocations: 0.6884 MB / 0.9298 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009405/2.589, allocations: 2.689 MB / 0.9325 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.602, allocations: 8.474 MB / 0.9407 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/2.614, allocations: 4.611 MB / 0.9452 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002315/2.614, allocations: 59.78 kB / 0.9453 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03049/2.645, allocations: 10.62 MB / 0.9557 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/2.645, allocations: 95.38 kB / 0.9557 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003973/2.645, allocations: 205.8 kB / 0.9559 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/2.646, allocations: 305.5 kB / 0.9562 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/2.66, allocations: 2.256 MB / 0.9584 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004553/2.661, allocations: 405.6 kB / 0.9588 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/2.673, allocations: 0.6174 MB / 0.9594 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/2.675, allocations: 0.5569 MB / 0.96 GB, free: 26.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 60 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1171): * Single equations (assignments): 1168 * 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.01043/2.685, allocations: 3.759 MB / 0.9636 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/2.687, allocations: 0.5917 MB / 0.9642 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009662/2.697, allocations: 3.002 MB / 0.9672 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/2.697, allocations: 27.62 kB / 0.9672 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/2.697, allocations: 0 / 0.9672 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/2.697, allocations: 15.19 kB / 0.9672 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05701/2.754, allocations: 24.82 MB / 0.9914 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001958/2.754, allocations: 61.94 kB / 0.9915 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004095/2.758, allocations: 0.6006 MB / 0.9921 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/2.758, allocations: 90.53 kB / 0.9922 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005955/2.759, allocations: 129.6 kB / 0.9923 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001025/2.759, allocations: 122 kB / 0.9924 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-05/2.759, allocations: 96.97 kB / 0.9925 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/2.775, allocations: 16.96 MB / 1.009 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/2.778, allocations: 0.7217 MB / 1.01 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/2.78, allocations: 148.1 kB / 1.01 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006017/2.786, allocations: 211.9 kB / 1.01 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.788, allocations: 404 kB / 1.01 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005695/2.788, allocations: 167.3 kB / 1.011 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01414/2.802, allocations: 4.293 MB / 1.015 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.976e-06/2.802, allocations: 0 / 1.015 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01314/2.816, allocations: 1.558 MB / 1.016 GB, free: 5.566 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * 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 (318): * Single equations (assignments): 315 * 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.001338/2.817, allocations: 326.6 kB / 1.017 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01915/2.836, allocations: 6.307 MB / 1.023 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.767e-05/2.836, allocations: 8.188 kB / 1.023 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004504/2.841, allocations: 1.614 MB / 1.024 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008253/2.849, allocations: 0.9093 MB / 1.025 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07093/2.92, allocations: 22.82 MB / 1.048 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01749/2.938, allocations: 5.97 MB / 1.053 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/2.94, allocations: 482.2 kB / 1.054 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/2.94, allocations: 0 / 1.054 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of Templates: time 0.603/3.543, allocations: 95.77 MB / 1.147 GB, free: 138.1 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches