Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.043 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.0008021/0.000802, allocations: 89.23 kB / 271.3 MB, free: 8.254 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.3125/0.3125, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.000343, allocations: 16 kB / 432.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4172, allocations: 102.3 MB / 0.5798 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4175, allocations: 79.97 kB / 0.5799 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1423/0.5598, allocations: 56.29 MB / 0.6349 GB, free: 6.977 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5598, allocations: 3.938 kB / 0.6349 GB, free: 6.973 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001174/0.5599, allocations: 52 kB / 0.6349 GB, free: 6.922 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.007728/0.5677, allocations: 2.705 MB / 0.6376 GB, free: 4.152 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5677, allocations: 8.031 kB / 0.6376 GB, free: 4.145 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007652/0.5754, allocations: 1.834 MB / 0.6394 GB, free: 2.305 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/0.5798, allocations: 1.782 MB / 0.6411 GB, free: 488 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.5801, allocations: 226.3 kB / 0.6413 GB, free: 260 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.5816, allocations: 292.3 kB / 0.6416 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.5975, allocations: 6.803 MB / 0.6482 GB, free: 8.785 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.5977, allocations: 20 kB / 0.6483 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.5988, allocations: 139.9 kB / 0.6484 GB, free: 8.629 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/0.6001, allocations: 0.704 MB / 0.6491 GB, free: 7.922 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.6117, allocations: 5.908 MB / 0.6549 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2381/0.8498, allocations: 23.88 MB / 0.6782 GB, free: 95.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/0.8541, allocations: 2.199 MB / 0.6803 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.8554, allocations: 0.8011 MB / 0.6811 GB, free: 94.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00775/0.8632, allocations: 4.001 MB / 0.685 GB, free: 93.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.8632, allocations: 37.47 kB / 0.685 GB, free: 93.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/0.8632, allocations: 0 / 0.685 GB, free: 93.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.005242/0.8685, allocations: 2.249 MB / 0.6872 GB, free: 93.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.8685, allocations: 58.44 kB / 0.6873 GB, free: 93.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.8716, allocations: 2.038 MB / 0.6893 GB, free: 93.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.8717, allocations: 41.05 kB / 0.6893 GB, free: 93.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.8727, allocations: 2.009 MB / 0.6913 GB, free: 92.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.873, allocations: 377.5 kB / 0.6917 GB, free: 92.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.8731, allocations: 62.09 kB / 0.6917 GB, free: 92.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8733, allocations: 449.8 kB / 0.6921 GB, free: 91.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.8744, allocations: 0.958 MB / 0.6931 GB, free: 91.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.8762, allocations: 2.94 MB / 0.6959 GB, free: 89.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/0.8795, allocations: 4.254 MB / 0.7001 GB, free: 86.65 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/0.8795, allocations: 22.62 kB / 0.7001 GB, free: 86.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00482/0.8844, allocations: 3.778 MB / 0.7038 GB, free: 86.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.8844, allocations: 34.62 kB / 0.7038 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.858e-05/0.8845, allocations: 73.81 kB / 0.7039 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.753e-05/0.8846, allocations: 92.44 kB / 0.704 GB, free: 86.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.8864, allocations: 0.7261 MB / 0.7047 GB, free: 86.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-05/0.8865, allocations: 135.6 kB / 0.7048 GB, free: 86.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.8883, allocations: 456.5 kB / 0.7053 GB, free: 85.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.8885, allocations: 194.9 kB / 0.7055 GB, free: 85.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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.001908/0.8904, allocations: 1.472 MB / 0.7069 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8906, allocations: 169.8 kB / 0.7071 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/0.8922, allocations: 1.241 MB / 0.7083 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8923, allocations: 13.08 kB / 0.7083 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8923, allocations: 0 / 0.7083 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.8923, allocations: 6.344 kB / 0.7083 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/0.8996, allocations: 5.035 MB / 0.7132 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8997, allocations: 12.84 kB / 0.7132 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.9002, allocations: 146.3 kB / 0.7134 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/0.9002, allocations: 13.03 kB / 0.7134 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.9003, allocations: 28.44 kB / 0.7134 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/0.9003, allocations: 21.55 kB / 0.7134 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.9004, allocations: 15.06 kB / 0.7134 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.9022, allocations: 1.569 MB / 0.715 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.9026, allocations: 279.3 kB / 0.7152 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.9028, allocations: 30.61 kB / 0.7153 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/0.9034, allocations: 36.52 kB / 0.7153 GB, free: 83.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.9035, allocations: 86.14 kB / 0.7154 GB, free: 83.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.9035, allocations: 38.3 kB / 0.7154 GB, free: 83.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001877/0.9054, allocations: 1.33 MB / 0.7167 GB, free: 83.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9054, allocations: 0 / 0.7167 GB, free: 83.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003053/0.9085, allocations: 0.7825 MB / 0.7175 GB, free: 82.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003149/0.9088, allocations: 159.5 kB / 0.7176 GB, free: 82.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003458/0.9123, allocations: 2.244 MB / 0.7198 GB, free: 81.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.9123, allocations: 1 kB / 0.7198 GB, free: 81.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.9131, allocations: 0.5593 MB / 0.7204 GB, free: 81.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/0.9168, allocations: 260.3 kB / 0.7206 GB, free: 81.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.9292, allocations: 6.969 MB / 0.7274 GB, free: 77.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003631/0.9328, allocations: 2.46 MB / 0.7298 GB, free: 76.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003047/0.9359, allocations: 1.046 MB / 0.7308 GB, free: 76.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.9364, allocations: 138.3 kB / 0.731 GB, free: 76.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9364, allocations: 0 / 0.731 GB, free: 76.59 MB / 490.7 MB Notification: Performance of Templates: time 0.03224/0.9686, allocations: 15.21 MB / 0.7458 GB, free: 75.77 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches