Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0009252/0.0009252, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004605/0.004605, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8969/0.8969, allocations: 177.1 MB / 205 MB, free: 5.723 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.2356/0.2356, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.CutTorque2,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.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.338e-05, allocations: 8.047 kB / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1797/0.1798, allocations: 8.416 MB / 449.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.1829, allocations: 2.777 MB / 452 MB, free: 40.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005086/0.1834, allocations: 57.31 kB / 452.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.1851, allocations: 2.039 MB / 454.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.1863, allocations: 1.175 MB / 455.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1866, allocations: 307.7 kB / 455.6 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1879, allocations: 2.367 MB / 458 MB, free: 38.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/0.1889, allocations: 1.751 MB / 459.7 MB, free: 37.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.1895, allocations: 1.281 MB / 461 MB, free: 36.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.1902, allocations: 1.148 MB / 462.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.1904, allocations: 194.1 kB / 462.3 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.1909, allocations: 0.6352 MB / 463 MB, free: 36.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004281/0.1913, allocations: 1.183 MB / 464.2 MB, free: 36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.1917, allocations: 0.7166 MB / 464.9 MB, free: 35.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.1936, allocations: 4.283 MB / 469.2 MB, free: 34.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1936, allocations: 0 / 469.2 MB, free: 34.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1936, allocations: 0 / 469.2 MB, free: 34.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.1936, allocations: 3.469 kB / 469.2 MB, free: 34.16 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.002236/0.1959, allocations: 2.83 MB / 472 MB, free: 32.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1959, allocations: 7.781 kB / 472 MB, free: 32.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.1982, allocations: 1.6 MB / 473.6 MB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.1994, allocations: 1.272 MB / 474.9 MB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.1995, allocations: 149.1 kB / 475 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.1997, allocations: 183.6 kB / 475.2 MB, free: 31.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/0.2044, allocations: 6.261 MB / 481.5 MB, free: 28.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.2044, allocations: 17.16 kB / 481.5 MB, free: 28.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.2046, allocations: 86.75 kB / 481.6 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.2059, allocations: 1.344 MB / 482.9 MB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006695/0.2126, allocations: 5.333 MB / 488.2 MB, free: 26.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.2302, allocations: 18.37 MB / 0.4947 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.233, allocations: 1.566 MB / 0.4963 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006665/0.2336, allocations: 0.6384 MB / 0.4969 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004027/0.2377, allocations: 3.109 MB / 0.4999 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2377, allocations: 39.06 kB / 0.5 GB, free: 12.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 3.416e-06/0.2377, allocations: 3.938 kB / 0.5 GB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002921/0.2406, allocations: 2.112 MB / 0.502 GB, free: 10.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.2406, allocations: 55.91 kB / 0.5021 GB, free: 10.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.2421, allocations: 1.935 MB / 0.504 GB, free: 8.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2421, allocations: 33.7 kB / 0.504 GB, free: 8.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/0.2427, allocations: 1.907 MB / 0.5059 GB, free: 6.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2428, allocations: 321.6 kB / 0.5062 GB, free: 6.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.2432, allocations: 0.6156 MB / 0.5068 GB, free: 5.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.2433, allocations: 349.9 kB / 0.5071 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.244, allocations: 0.8881 MB / 0.508 GB, free: 4.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.2452, allocations: 2.755 MB / 0.5107 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/0.2483, allocations: 3.961 MB / 0.5145 GB, free: 11.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/0.2483, allocations: 20 kB / 0.5145 GB, free: 11.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003452/0.2518, allocations: 3.525 MB / 0.518 GB, free: 8.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2518, allocations: 32 kB / 0.518 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.647e-05/0.2518, allocations: 68 kB / 0.5181 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.971e-05/0.2519, allocations: 88 kB / 0.5182 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.253, allocations: 0.658 MB / 0.5188 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.412e-05/0.253, allocations: 133.1 kB / 0.5189 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2542, allocations: 421.3 kB / 0.5193 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.2543, allocations: 188 kB / 0.5195 GB, free: 6.551 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.001548/0.2559, allocations: 1.347 MB / 0.5208 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.256, allocations: 158.9 kB / 0.521 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.2562, allocations: 184 kB / 0.5212 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2562, allocations: 8 kB / 0.5212 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2562, allocations: 0 / 0.5212 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2562, allocations: 7.984 kB / 0.5212 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.2596, allocations: 3.087 MB / 0.5242 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.2596, allocations: 8 kB / 0.5242 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.2598, allocations: 99.81 kB / 0.5243 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.2598, allocations: 12 kB / 0.5243 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.2599, allocations: 20 kB / 0.5243 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.2599, allocations: 15.92 kB / 0.5243 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.2599, allocations: 16.41 kB / 0.5244 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009981/0.2609, allocations: 1.238 MB / 0.5256 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.261, allocations: 158.9 kB / 0.5257 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.139e-05/0.2611, allocations: 16 kB / 0.5257 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2613, allocations: 23.98 kB / 0.5258 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.2614, allocations: 59.55 kB / 0.5258 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.2614, allocations: 28 kB / 0.5258 GB, free: 15.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009567/0.2624, allocations: 1.122 MB / 0.5269 GB, free: 14.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2624, allocations: 0 / 0.5269 GB, free: 14.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001591/0.264, allocations: 0.7084 MB / 0.5276 GB, free: 14 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.0003009/0.2643, allocations: 139 kB / 0.5278 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2661, allocations: 1.955 MB / 0.5297 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2661, allocations: 4.875 kB / 0.5297 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.2664, allocations: 436.5 kB / 0.5301 GB, free: 11.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.2671, allocations: 187.8 kB / 0.5303 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00556/0.2727, allocations: 5.391 MB / 0.5355 GB, free: 5.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.2741, allocations: 1.716 MB / 0.5372 GB, free: 4.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.2743, allocations: 132.5 kB / 0.5373 GB, free: 3.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2743, allocations: 3.938 kB / 0.5373 GB, free: 3.906 MB / 442.7 MB Notification: Performance of Templates: time 0.02671/0.301, allocations: 30.06 MB / 0.5667 GB, free: 5.914 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.914371632039547]