Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 171.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009488, allocations: 102 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.16 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.79e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5285, allocations: 102.2 MB / 0.5944 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5288, allocations: 75.97 kB / 0.5945 GB, free: 10.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1281/0.6569, allocations: 52.56 MB / 0.6458 GB, free: 5.328 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6569, allocations: 0 / 0.6458 GB, free: 5.328 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.6571, allocations: 56 kB / 0.6459 GB, free: 5.273 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006903/0.664, allocations: 2.523 MB / 0.6483 GB, free: 2.695 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.664, allocations: 11.98 kB / 0.6484 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007796/0.6718, allocations: 1.794 MB / 0.6501 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.6758, allocations: 1.672 MB / 0.6517 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.676, allocations: 88 kB / 0.6518 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007639/0.6767, allocations: 156 kB / 0.652 GB, free: 14.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00713/0.6839, allocations: 4.144 MB / 0.656 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.6957, allocations: 5.764 MB / 0.6616 GB, free: 4.664 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.6958, allocations: 19.81 kB / 0.6617 GB, free: 4.645 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.6961, allocations: 8 kB / 0.6617 GB, free: 4.637 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008181/0.6969, allocations: 0.6495 MB / 0.6623 GB, free: 3.984 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/0.7249, allocations: 22.15 MB / 0.6839 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.7264, allocations: 1.382 MB / 0.6853 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.727, allocations: 0.491 MB / 0.6858 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.7271, allocations: 16.58 kB / 0.6858 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.7271, allocations: 39.12 kB / 0.6858 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=90): time 3.477e-06/0.7271, allocations: 0 / 0.6858 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90): time 0.002891/0.73, allocations: 1.317 MB / 0.6871 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.7301, allocations: 59.97 kB / 0.6872 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.732, allocations: 1.576 MB / 0.6887 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.7321, allocations: 29.7 kB / 0.6887 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.7332, allocations: 1.91 MB / 0.6906 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.7335, allocations: 347.5 kB / 0.6909 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.7336, allocations: 0 / 0.6909 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002691/0.7338, allocations: 0.4898 MB / 0.6914 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.735, allocations: 0.834 MB / 0.6922 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.7372, allocations: 2.848 MB / 0.695 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.7391, allocations: 1.572 MB / 0.6965 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/0.7391, allocations: 20 kB / 0.6965 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.004697/0.7438, allocations: 3.225 MB / 0.6997 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.7439, allocations: 39.94 kB / 0.6997 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.697e-05/0.744, allocations: 75.98 kB / 0.6998 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.7441, allocations: 104 kB / 0.6999 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.746, allocations: 0.7102 MB / 0.7006 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/0.7461, allocations: 151.4 kB / 0.7007 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.7481, allocations: 367.5 kB / 0.7011 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.7483, allocations: 200 kB / 0.7013 GB, free: 10.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * 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.0003604/0.7487, allocations: 300.5 kB / 0.7016 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.7489, allocations: 157.9 kB / 0.7017 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.7506, allocations: 1.139 MB / 0.7028 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.7506, allocations: 12 kB / 0.7028 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7506, allocations: 0 / 0.7028 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7506, allocations: 3.984 kB / 0.7029 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.7562, allocations: 3.714 MB / 0.7065 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.7563, allocations: 8 kB / 0.7065 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.7568, allocations: 119.8 kB / 0.7066 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-05/0.7568, allocations: 15.95 kB / 0.7066 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.7569, allocations: 8.719 kB / 0.7066 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.7569, allocations: 15.98 kB / 0.7066 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.7569, allocations: 15.94 kB / 0.7067 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.7586, allocations: 1.803 MB / 0.7084 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.7589, allocations: 234.8 kB / 0.7086 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.759, allocations: 15.95 kB / 0.7087 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.7595, allocations: 19.97 kB / 0.7087 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.7596, allocations: 59.83 kB / 0.7087 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.7596, allocations: 35.98 kB / 0.7088 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001349/0.761, allocations: 1.05 MB / 0.7098 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.761, allocations: 0 / 0.7098 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002645/0.7637, allocations: 0.6567 MB / 0.7104 GB, free: 228 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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.0003365/0.764, allocations: 142.9 kB / 0.7106 GB, free: 76 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2526/1.017, allocations: 1.972 MB / 0.7125 GB, free: 149 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.017, allocations: 1.875 kB / 0.7125 GB, free: 149 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/1.017, allocations: 0.504 MB / 0.713 GB, free: 149 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.019, allocations: 171.6 kB / 0.7132 GB, free: 149 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008223/1.027, allocations: 4.305 MB / 0.7174 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/1.03, allocations: 2.382 MB / 0.7197 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002935/1.033, allocations: 1.076 MB / 0.7207 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.033, allocations: 118.1 kB / 0.7208 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of SimCode: time 9.61e-07/1.033, allocations: 0.625 kB / 0.7208 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.03057/1.063, allocations: 11.5 MB / 0.7321 GB, free: 146.7 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches