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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 154.4 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9394/0.9394, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1535/0.1535, allocations: 34.87 MB / 297.4 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.03e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007026/0.007056, allocations: 9.004 MB / 389 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.01233, allocations: 2.847 MB / 391.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.0136, allocations: 55.81 kB / 391.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.01578, allocations: 2.107 MB / 394 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.01784, allocations: 1.174 MB / 395.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.01835, allocations: 323.2 kB / 395.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002326/0.02068, allocations: 2.364 MB / 397.9 MB, free: 4.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.02221, allocations: 1.801 MB / 399.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.02348, allocations: 1.302 MB / 401 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.02455, allocations: 1.177 MB / 402.1 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.02477, allocations: 196 kB / 402.3 MB, free: 312 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008879/0.02566, allocations: 0.6359 MB / 403 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008032/0.02646, allocations: 1.184 MB / 404.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.02733, allocations: 0.7241 MB / 404.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.03006, allocations: 2.724 MB / 407.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.03007, allocations: 0 / 407.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03007, allocations: 0 / 407.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.329e-05/0.0301, allocations: 0 / 407.6 MB, free: 11.01 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003011/0.03311, allocations: 3.114 MB / 410.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.03316, allocations: 8.031 kB / 410.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.03529, allocations: 0.9862 MB / 411.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.0367, allocations: 1.13 MB / 412.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.322e-05/0.03679, allocations: 148 kB / 413 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.03702, allocations: 188.2 kB / 413.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.04062, allocations: 3.035 MB / 416.2 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.236e-05/0.04066, allocations: 11.88 kB / 416.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.04081, allocations: 87.91 kB / 416.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/0.04193, allocations: 1.192 MB / 417.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.0445, allocations: 1.461 MB / 419 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.06135, allocations: 20.46 MB / 439.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.06322, allocations: 0.8367 MB / 440.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.06346, allocations: 197.9 kB / 440.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003207/0.06667, allocations: 2.474 MB / 442.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.0667, allocations: 41.89 kB / 443 MB, free: 6.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 4.087e-06/0.0667, allocations: 3.938 kB / 443 MB, free: 6.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002577/0.06928, allocations: 1.233 MB / 444.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.06932, allocations: 59.91 kB / 444.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.07083, allocations: 1.786 MB / 446 MB, free: 3.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.07087, allocations: 37.7 kB / 446.1 MB, free: 3.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009664/0.07183, allocations: 2.027 MB / 448.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.07204, allocations: 341.5 kB / 448.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005371/0.07258, allocations: 0.6887 MB / 449.1 MB, free: 176 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.07274, allocations: 0.5237 MB / 449.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.07301, allocations: 233.7 kB / 449.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.07457, allocations: 3.012 MB / 452.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.077, allocations: 3.62 MB / 456.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/0.07703, allocations: 16 kB / 456.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002609/0.07963, allocations: 2.334 MB / 458.9 MB, free: 3.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.07969, allocations: 36 kB / 458.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/0.07974, allocations: 64 kB / 459 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-05/0.0798, allocations: 88 kB / 459 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.08082, allocations: 0.6394 MB / 459.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.786e-05/0.08089, allocations: 131.5 kB / 459.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.08205, allocations: 405.4 kB / 460.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.08221, allocations: 164 kB / 460.4 MB, free: 2.367 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008961/0.0831, allocations: 413.5 kB / 460.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.08327, allocations: 170.9 kB / 460.9 MB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.08343, allocations: 156 kB / 461.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.08345, allocations: 15.98 kB / 461.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.08345, allocations: 0 / 461.1 MB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.08346, allocations: 4 kB / 461.1 MB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.08692, allocations: 2.811 MB / 463.9 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.08693, allocations: 4 kB / 463.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.08713, allocations: 91.84 kB / 464 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.08714, allocations: 12 kB / 464 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.08717, allocations: 15.98 kB / 464 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.08718, allocations: 15.98 kB / 464.1 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.08719, allocations: 16.34 kB / 464.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.08788, allocations: 0.8702 MB / 464.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.08806, allocations: 146.8 kB / 465.1 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.08814, allocations: 20 kB / 465.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.08835, allocations: 16 kB / 465.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.08842, allocations: 59.72 kB / 465.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.08845, allocations: 28 kB / 465.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005938/0.08905, allocations: 0.731 MB / 465.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.08905, allocations: 4 kB / 465.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001837/0.09088, allocations: 0.7083 MB / 466.6 MB, free: 11.76 MB / 394.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002752/0.09116, allocations: 143 kB / 466.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.09251, allocations: 1.191 MB / 468 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.09252, allocations: 0 / 468 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.09272, allocations: 191.5 kB / 468.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.0934, allocations: 203 kB / 468.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.09891, allocations: 4.399 MB / 472.8 MB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.09963, allocations: 0.7619 MB / 473.5 MB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006986/0.1003, allocations: 246.6 kB / 473.8 MB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.1006, allocations: 298.1 kB / 474.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of SimCode: time 1.793e-06/0.1006, allocations: 0 / 474.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of Templates: time 0.02411/0.1248, allocations: 12.66 MB / 486.7 MB, free: 7.691 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.086305906996131]