Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001511, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000828/0.0008282, allocations: 111.5 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2867/0.2867, allocations: 45.24 MB / 394.7 MB, free: 31.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000244/0.0002439, allocations: 12 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2843, allocations: 63.25 MB / 0.5192 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4067, allocations: 103.9 MB / 0.6207 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.407, allocations: 83.95 kB / 0.6208 GB, free: 15.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1289/0.5359, allocations: 55.11 MB / 0.6746 GB, free: 7.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5359, allocations: 4 kB / 0.6746 GB, free: 7.898 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.536, allocations: 48 kB / 0.6747 GB, free: 7.852 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006476/0.5425, allocations: 2.632 MB / 0.6772 GB, free: 5.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5426, allocations: 15.97 kB / 0.6772 GB, free: 5.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/0.5495, allocations: 1.802 MB / 0.679 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.5538, allocations: 1.664 MB / 0.6806 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.554, allocations: 201.5 kB / 0.6808 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009992/0.5551, allocations: 279.9 kB / 0.6811 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.24/0.7951, allocations: 6.316 MB / 0.6873 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.589e-05/0.7952, allocations: 14.94 kB / 0.6873 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004197/0.7956, allocations: 125.9 kB / 0.6874 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006672/0.7963, allocations: 0.6366 MB / 0.688 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007548/0.8039, allocations: 5.505 MB / 0.6934 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.8265, allocations: 22.32 MB / 0.7152 GB, free: 93.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.8303, allocations: 2.002 MB / 0.7171 GB, free: 92.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006073/0.8364, allocations: 3.696 MB / 0.7207 GB, free: 90.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.8365, allocations: 42.17 kB / 0.7208 GB, free: 90.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.8365, allocations: 0 / 0.7208 GB, free: 90.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=78): time 0.004966/0.8414, allocations: 2.235 MB / 0.723 GB, free: 89.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.8415, allocations: 57.25 kB / 0.723 GB, free: 89.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002736/0.8442, allocations: 1.746 MB / 0.7247 GB, free: 88.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.8443, allocations: 35.73 kB / 0.7248 GB, free: 88.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.8453, allocations: 1.886 MB / 0.7266 GB, free: 87.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.8456, allocations: 316.5 kB / 0.7269 GB, free: 87.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.8457, allocations: 58.94 kB / 0.727 GB, free: 87.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.8459, allocations: 495.4 kB / 0.7274 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/0.8469, allocations: 0.8454 MB / 0.7283 GB, free: 86.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.8485, allocations: 2.712 MB / 0.7309 GB, free: 83.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.8501, allocations: 1.521 MB / 0.7324 GB, free: 83.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.367e-05/0.8501, allocations: 23.31 kB / 0.7324 GB, free: 83.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.004285/0.8544, allocations: 3.443 MB / 0.7358 GB, free: 82.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.8545, allocations: 39.47 kB / 0.7358 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-05/0.8545, allocations: 73.92 kB / 0.7359 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.387e-05/0.8546, allocations: 96.53 kB / 0.736 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.8562, allocations: 0.6502 MB / 0.7366 GB, free: 81.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.956e-05/0.8562, allocations: 134.1 kB / 0.7367 GB, free: 81.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.8582, allocations: 406.6 kB / 0.7371 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.8584, allocations: 188 kB / 0.7373 GB, free: 81.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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.002214/0.8606, allocations: 1.366 MB / 0.7386 GB, free: 81.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.8609, allocations: 158.9 kB / 0.7388 GB, free: 80.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.8613, allocations: 203.1 kB / 0.739 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.8613, allocations: 12.55 kB / 0.739 GB, free: 80.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.8614, allocations: 0.7656 kB / 0.739 GB, free: 80.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8614, allocations: 7.312 kB / 0.739 GB, free: 80.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/0.8678, allocations: 4.102 MB / 0.743 GB, free: 79.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.8678, allocations: 7.469 kB / 0.743 GB, free: 79.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003546/0.8682, allocations: 106.7 kB / 0.7431 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.8682, allocations: 14.55 kB / 0.7431 GB, free: 79.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.8682, allocations: 22.69 kB / 0.7432 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.8683, allocations: 18.77 kB / 0.7432 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8683, allocations: 6.844 kB / 0.7432 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.8695, allocations: 1.725 MB / 0.7449 GB, free: 77.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.8699, allocations: 260.4 kB / 0.7451 GB, free: 77.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.87, allocations: 21.92 kB / 0.7451 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.8705, allocations: 26.34 kB / 0.7452 GB, free: 77.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.8705, allocations: 68.77 kB / 0.7452 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.8706, allocations: 31.7 kB / 0.7453 GB, free: 77.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.8719, allocations: 1.271 MB / 0.7465 GB, free: 77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8719, allocations: 0 / 0.7465 GB, free: 77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002212/0.8741, allocations: 0.7036 MB / 0.7472 GB, free: 76.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0002522/0.8744, allocations: 156.9 kB / 0.7473 GB, free: 76.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.8767, allocations: 1.978 MB / 0.7493 GB, free: 76.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8768, allocations: 3.875 kB / 0.7493 GB, free: 76.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.8772, allocations: 461.2 kB / 0.7497 GB, free: 75.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.8783, allocations: 224.4 kB / 0.7499 GB, free: 75.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.8861, allocations: 6.264 MB / 0.756 GB, free: 72.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.8879, allocations: 2.373 MB / 0.7584 GB, free: 71.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002064/0.89, allocations: 0.9728 MB / 0.7593 GB, free: 71.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.8902, allocations: 121.5 kB / 0.7594 GB, free: 71.15 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.8902, allocations: 3.938 kB / 0.7594 GB, free: 71.15 MB / 490.7 MB Notification: Performance of Templates: time 0.02355/0.9138, allocations: 13.76 MB / 0.7729 GB, free: 64.3 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches