Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001808/0.001808, allocations: 113 kB / 19.12 MB, free: 3.785 MB / 14.72 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.002612/0.002612, allocations: 210.6 kB / 22.08 MB, free: 0.832 MB / 14.72 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 1.563/1.563, allocations: 227.4 MB / 252.3 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] 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.2364/0.2364, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 82.11 kB / 490.9 MB, free: 27.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1168, allocations: 62.45 MB / 0.5403 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01169/0.1286, allocations: 9.511 MB / 0.5496 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006745/0.1354, allocations: 2.932 MB / 0.5525 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.1369, allocations: 51.94 kB / 0.5525 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.1409, allocations: 2.001 MB / 0.5545 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.1442, allocations: 1.098 MB / 0.5556 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008469/0.145, allocations: 291.4 kB / 0.5558 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.1487, allocations: 2.332 MB / 0.5581 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.1518, allocations: 2.313 MB / 0.5604 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.1531, allocations: 0.8761 MB / 0.5612 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.1548, allocations: 1.153 MB / 0.5624 GB, free: 13.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.1552, allocations: 196 kB / 0.5626 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1566, allocations: 0.6982 MB / 0.5632 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.1578, allocations: 1.103 MB / 0.5643 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.1593, allocations: 1.305 MB / 0.5656 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005285/0.1646, allocations: 4.334 MB / 0.5698 GB, free: 5.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1647, allocations: 3.938 kB / 0.5698 GB, free: 5.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1647, allocations: 0 / 0.5698 GB, free: 5.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001096/0.1648, allocations: 0 / 0.5698 GB, free: 5.895 MB / 430.1 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.005955/0.1708, allocations: 2.933 MB / 0.5727 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1708, allocations: 8.031 kB / 0.5727 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.176, allocations: 1.586 MB / 0.5742 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.1789, allocations: 1.34 MB / 0.5756 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1791, allocations: 144 kB / 0.5757 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.1795, allocations: 187.8 kB / 0.5759 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.1901, allocations: 6.25 MB / 0.582 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/0.1902, allocations: 11.88 kB / 0.582 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.1904, allocations: 87.91 kB / 0.5821 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002171/0.1926, allocations: 1.34 MB / 0.5834 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.2032, allocations: 5.334 MB / 0.5886 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3003/0.5035, allocations: 20.06 MB / 0.6082 GB, free: 47.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/0.5078, allocations: 2.009 MB / 0.6101 GB, free: 46.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.5089, allocations: 0.6975 MB / 0.6108 GB, free: 46.49 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006756/0.5157, allocations: 3.618 MB / 0.6143 GB, free: 45.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.5157, allocations: 36.72 kB / 0.6144 GB, free: 45.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.825e-06/0.5157, allocations: 0.75 kB / 0.6144 GB, free: 45.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005554/0.5213, allocations: 1.991 MB / 0.6163 GB, free: 45.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.5213, allocations: 57.77 kB / 0.6164 GB, free: 45.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/0.5242, allocations: 1.941 MB / 0.6183 GB, free: 44.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.5242, allocations: 38 kB / 0.6183 GB, free: 44.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.5253, allocations: 1.911 MB / 0.6202 GB, free: 43.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.5256, allocations: 327.1 kB / 0.6205 GB, free: 43.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000788/0.5264, allocations: 0.6247 MB / 0.6211 GB, free: 42.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5265, allocations: 358.5 kB / 0.6214 GB, free: 42.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.528, allocations: 0.8889 MB / 0.6223 GB, free: 42.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/0.5301, allocations: 2.749 MB / 0.625 GB, free: 39.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.5337, allocations: 3.978 MB / 0.6289 GB, free: 36.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.307e-05/0.5338, allocations: 18.16 kB / 0.6289 GB, free: 36.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004854/0.5386, allocations: 3.526 MB / 0.6323 GB, free: 34.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.5387, allocations: 33 kB / 0.6324 GB, free: 34.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.983e-05/0.5388, allocations: 66.47 kB / 0.6324 GB, free: 34.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.5389, allocations: 86.22 kB / 0.6325 GB, free: 34.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.5406, allocations: 0.6566 MB / 0.6332 GB, free: 34.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.538e-05/0.5406, allocations: 133.3 kB / 0.6333 GB, free: 34.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.5424, allocations: 434.3 kB / 0.6337 GB, free: 34.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.5426, allocations: 189.6 kB / 0.6339 GB, free: 34.27 MB / 462.1 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.001636/0.5442, allocations: 1.343 MB / 0.6352 GB, free: 33.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5444, allocations: 167.7 kB / 0.6354 GB, free: 33.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.5447, allocations: 203.3 kB / 0.6355 GB, free: 33.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.5447, allocations: 8.953 kB / 0.6356 GB, free: 33.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.5447, allocations: 0 / 0.6356 GB, free: 33.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.5447, allocations: 4.031 kB / 0.6356 GB, free: 33.44 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/0.5494, allocations: 4.026 MB / 0.6395 GB, free: 31.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.5494, allocations: 11.34 kB / 0.6395 GB, free: 31.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.5497, allocations: 105.3 kB / 0.6396 GB, free: 31.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.5497, allocations: 7.25 kB / 0.6396 GB, free: 31.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.5498, allocations: 19.12 kB / 0.6396 GB, free: 31.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.5498, allocations: 14.62 kB / 0.6396 GB, free: 31.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5498, allocations: 15.44 kB / 0.6397 GB, free: 31.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.551, allocations: 1.271 MB / 0.6409 GB, free: 31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.5513, allocations: 251.5 kB / 0.6411 GB, free: 30.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.5515, allocations: 18.62 kB / 0.6412 GB, free: 30.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.5519, allocations: 34.12 kB / 0.6412 GB, free: 30.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.552, allocations: 56.69 kB / 0.6412 GB, free: 30.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.5521, allocations: 29.78 kB / 0.6413 GB, free: 30.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00145/0.5536, allocations: 1.272 MB / 0.6425 GB, free: 30.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5536, allocations: 0 / 0.6425 GB, free: 30.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002368/0.5559, allocations: 0.6914 MB / 0.6432 GB, free: 30.09 MB / 462.1 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.0002756/0.5562, allocations: 136.4 kB / 0.6433 GB, free: 29.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.5585, allocations: 2.053 MB / 0.6453 GB, free: 28.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.5585, allocations: 0 / 0.6453 GB, free: 28.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.5589, allocations: 468.7 kB / 0.6458 GB, free: 27.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5599, allocations: 241.7 kB / 0.646 GB, free: 27.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.5662, allocations: 5.429 MB / 0.6513 GB, free: 22.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.5678, allocations: 2.278 MB / 0.6535 GB, free: 19.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.5682, allocations: 147.4 kB / 0.6537 GB, free: 19.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5682, allocations: 7.875 kB / 0.6537 GB, free: 19.71 MB / 462.1 MB Notification: Performance of Templates: time 0.04046/0.6087, allocations: 30.17 MB / 0.6831 GB, free: 5.617 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.48577293602284]