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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003514/0.003514, allocations: 163.9 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8917/0.8917, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 32.79 MB / 294.2 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.626e-05, allocations: 2.281 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.1742/0.1742, allocations: 8.413 MB / 449.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003864/0.178, allocations: 2.779 MB / 452 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.1785, allocations: 57.31 kB / 452.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.1804, allocations: 2.04 MB / 454.1 MB, free: 39.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.1819, allocations: 1.17 MB / 455.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1822, allocations: 315.6 kB / 455.6 MB, free: 39.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1837, allocations: 2.369 MB / 458 MB, free: 38.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.1849, allocations: 1.745 MB / 459.7 MB, free: 37.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.1857, allocations: 1.287 MB / 461 MB, free: 36.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008358/0.1865, allocations: 1.143 MB / 462.2 MB, free: 36.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.1867, allocations: 194.1 kB / 462.3 MB, free: 36.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/0.1874, allocations: 0.6436 MB / 463 MB, free: 36.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006345/0.1881, allocations: 1.174 MB / 464.2 MB, free: 35.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.1885, allocations: 0.7139 MB / 464.9 MB, free: 35.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.1909, allocations: 4.288 MB / 469.2 MB, free: 34.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1909, allocations: 4 kB / 469.2 MB, free: 34.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1909, allocations: 3.938 kB / 469.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.1909, allocations: 3.469 kB / 469.2 MB, free: 34.11 MB / 410.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.002747/0.1937, allocations: 2.823 MB / 472 MB, free: 32.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.1937, allocations: 9.188 kB / 472 MB, free: 32.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.1962, allocations: 1.595 MB / 473.6 MB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1975, allocations: 1.287 MB / 474.9 MB, free: 31.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.1976, allocations: 143 kB / 475 MB, free: 31.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.1978, allocations: 186.7 kB / 475.2 MB, free: 31.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005324/0.2031, allocations: 6.254 MB / 481.5 MB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.2031, allocations: 17.03 kB / 481.5 MB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.2033, allocations: 87.09 kB / 481.6 MB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001522/0.2048, allocations: 1.34 MB / 482.9 MB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007509/0.2123, allocations: 5.339 MB / 488.2 MB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.2282, allocations: 18.36 MB / 0.4947 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.231, allocations: 1.569 MB / 0.4963 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/0.2318, allocations: 0.6406 MB / 0.4969 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003769/0.2356, allocations: 3.102 MB / 0.4999 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.2356, allocations: 43.06 kB / 0.5 GB, free: 12.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.2356, allocations: 0 / 0.5 GB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.00292/0.2385, allocations: 2.111 MB / 0.502 GB, free: 10.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.2386, allocations: 55.91 kB / 0.5021 GB, free: 10.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.2398, allocations: 1.939 MB / 0.504 GB, free: 8.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2399, allocations: 33.7 kB / 0.504 GB, free: 8.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.2404, allocations: 1.907 MB / 0.5059 GB, free: 6.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.2405, allocations: 321.6 kB / 0.5062 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.2409, allocations: 0.6156 MB / 0.5068 GB, free: 5.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.2409, allocations: 349.9 kB / 0.5071 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/0.2416, allocations: 0.888 MB / 0.508 GB, free: 4.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.2428, allocations: 2.748 MB / 0.5107 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.2458, allocations: 3.964 MB / 0.5145 GB, free: 11.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.2458, allocations: 24 kB / 0.5145 GB, free: 11.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003328/0.2491, allocations: 3.522 MB / 0.518 GB, free: 8.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.2491, allocations: 36 kB / 0.518 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/0.2492, allocations: 64 kB / 0.5181 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.608e-05/0.2492, allocations: 92.03 kB / 0.5182 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2503, allocations: 0.6619 MB / 0.5188 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.987e-05/0.2503, allocations: 133.1 kB / 0.5189 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.2513, allocations: 416.9 kB / 0.5193 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.2515, allocations: 184 kB / 0.5195 GB, free: 6.586 MB / 426.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.001552/0.253, allocations: 1.347 MB / 0.5208 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.2531, allocations: 158.9 kB / 0.521 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.2533, allocations: 188 kB / 0.5212 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.2533, allocations: 8 kB / 0.5212 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.2534, allocations: 0 / 0.5212 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2534, allocations: 3.984 kB / 0.5212 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.2565, allocations: 3.091 MB / 0.5242 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2565, allocations: 4 kB / 0.5242 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2567, allocations: 103.8 kB / 0.5243 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.2567, allocations: 12 kB / 0.5243 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.2568, allocations: 23.98 kB / 0.5243 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.2568, allocations: 11.98 kB / 0.5243 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.2568, allocations: 15.88 kB / 0.5244 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.2577, allocations: 1.234 MB / 0.5256 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.2578, allocations: 159 kB / 0.5257 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.2579, allocations: 20 kB / 0.5257 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2581, allocations: 23.98 kB / 0.5258 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.2582, allocations: 59.73 kB / 0.5258 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.2582, allocations: 32 kB / 0.5258 GB, free: 15.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009721/0.2592, allocations: 1.114 MB / 0.5269 GB, free: 14.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2592, allocations: 0 / 0.5269 GB, free: 14.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001474/0.2607, allocations: 0.7122 MB / 0.5276 GB, free: 14.02 MB / 442.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.0002322/0.2609, allocations: 143 kB / 0.5278 GB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.2629, allocations: 1.963 MB / 0.5297 GB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2629, allocations: 0 / 0.5297 GB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.2632, allocations: 429.8 kB / 0.5301 GB, free: 11.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.2638, allocations: 196.6 kB / 0.5303 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.2691, allocations: 5.385 MB / 0.5355 GB, free: 5.812 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.2705, allocations: 1.712 MB / 0.5372 GB, free: 4.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.2707, allocations: 132.5 kB / 0.5373 GB, free: 3.934 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2707, allocations: 0 / 0.5373 GB, free: 3.934 MB / 442.7 MB Notification: Performance of Templates: time 0.02526/0.296, allocations: 30.05 MB / 0.5667 GB, free: 5.949 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 5.794518446549773]