Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.00128/0.00128, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.002251/0.002251, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1678/0.1678, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.642e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.1594/0.1595, allocations: 16.83 MB / 315.9 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.1727, allocations: 5.548 MB / 321.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004341/0.177, allocations: 151.2 kB / 321.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008568/0.1856, allocations: 6.579 MB / 328.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008731/0.1943, allocations: 3.399 MB / 331.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.1982, allocations: 1.805 MB / 333.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01338/0.2116, allocations: 9.57 MB / 343 MB, free: 2.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.2224, allocations: 7.189 MB / 350.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.2343, allocations: 5.048 MB / 355.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008551/0.2428, allocations: 4.793 MB / 360 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003616/0.2465, allocations: 0.6797 MB / 360.7 MB, free: 428 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00666/0.2531, allocations: 1.475 MB / 362.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007874/0.261, allocations: 4.368 MB / 366.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008221/0.2692, allocations: 2.636 MB / 369.1 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.2824, allocations: 8.787 MB / 377.9 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.2825, allocations: 4 kB / 377.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2825, allocations: 0 / 377.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006155/0.2831, allocations: 0 / 377.9 MB, free: 15.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01884/0.3019, allocations: 8.86 MB / 386.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.302, allocations: 8.031 kB / 386.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007711/0.3097, allocations: 1.937 MB / 388.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007454/0.3171, allocations: 3.995 MB / 392.7 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004091/0.3175, allocations: 472.4 kB / 393.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/0.3195, allocations: 0.6135 MB / 393.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.3385, allocations: 9.412 MB / 403.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/0.3388, allocations: 71.34 kB / 403.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/0.3402, allocations: 293 kB / 403.6 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003277/0.3435, allocations: 3.352 MB / 406.9 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.3579, allocations: 4.682 MB / 411.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.383/0.7409, allocations: 57.25 MB / 468.9 MB, free: 77.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/0.7541, allocations: 3.408 MB / 472.3 MB, free: 77.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/0.7564, allocations: 0.6474 MB / 472.9 MB, free: 77.39 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/0.7752, allocations: 6.271 MB / 479.2 MB, free: 76.68 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.7753, allocations: 60.53 kB / 479.2 MB, free: 76.64 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 6.782e-06/0.7753, allocations: 0 / 479.2 MB, free: 76.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.02755/0.8029, allocations: 7.953 MB / 487.2 MB, free: 75.98 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.8029, allocations: 157.7 kB / 487.3 MB, free: 75.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005626/0.8085, allocations: 5.286 MB / 492.6 MB, free: 74.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005438/0.8091, allocations: 76.5 kB / 492.7 MB, free: 74.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002508/0.8116, allocations: 5.517 MB / 498.2 MB, free: 70.71 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001256/0.8129, allocations: 1.093 MB / 499.3 MB, free: 69.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.8145, allocations: 1.794 MB / 0.4894 GB, free: 69.21 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.8146, allocations: 310 kB / 0.4897 GB, free: 68.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.8163, allocations: 1.106 MB / 0.4907 GB, free: 68.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.8196, allocations: 6.829 MB / 0.4974 GB, free: 59.09 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005795/0.8254, allocations: 8.905 MB / 0.5061 GB, free: 47.95 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001628/0.8255, allocations: 64 kB / 0.5062 GB, free: 47.88 MB / 410.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.009629/0.8352, allocations: 6.39 MB / 0.5124 GB, free: 41.46 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.8352, allocations: 99.94 kB / 0.5125 GB, free: 41.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/0.8354, allocations: 208 kB / 0.5127 GB, free: 41.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001337/0.8355, allocations: 276 kB / 0.513 GB, free: 40.89 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/0.8397, allocations: 2.16 MB / 0.5151 GB, free: 38.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001459/0.8399, allocations: 417.4 kB / 0.5155 GB, free: 38.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/0.8456, allocations: 415.9 kB / 0.5159 GB, free: 37.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/0.8466, allocations: 0.4922 MB / 0.5164 GB, free: 37.42 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1195): * Single equations (assignments): 1184 * Array equations: 11 * 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.003734/0.8504, allocations: 0.9095 MB / 0.5172 GB, free: 36.5 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/0.8515, allocations: 371.6 kB / 0.5176 GB, free: 36.13 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.8531, allocations: 1.338 MB / 0.5189 GB, free: 34.78 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.8532, allocations: 28 kB / 0.5189 GB, free: 34.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8532, allocations: 0 / 0.5189 GB, free: 34.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.8532, allocations: 19.95 kB / 0.5189 GB, free: 34.73 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.8721, allocations: 11.87 MB / 0.5305 GB, free: 21.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.8722, allocations: 64 kB / 0.5306 GB, free: 21.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.8732, allocations: 0.5809 MB / 0.5312 GB, free: 21.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.369e-05/0.8733, allocations: 84 kB / 0.5313 GB, free: 21.01 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.8734, allocations: 136 kB / 0.5314 GB, free: 20.88 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.8734, allocations: 126.2 kB / 0.5315 GB, free: 20.76 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.774e-05/0.8735, allocations: 99.56 kB / 0.5316 GB, free: 20.66 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/0.877, allocations: 4.595 MB / 0.5361 GB, free: 14.83 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/0.8793, allocations: 0.6559 MB / 0.5367 GB, free: 14.17 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/0.8806, allocations: 147.9 kB / 0.5369 GB, free: 14.03 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/0.8831, allocations: 112 kB / 0.537 GB, free: 13.92 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/0.8835, allocations: 437.8 kB / 0.5374 GB, free: 13.49 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.8837, allocations: 156 kB / 0.5375 GB, free: 13.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002843/0.8865, allocations: 2.308 MB / 0.5398 GB, free: 11.02 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8865, allocations: 0 / 0.5398 GB, free: 11.02 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007578/0.8941, allocations: 1.75 MB / 0.5415 GB, free: 9.273 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.0008215/0.8949, allocations: 330.7 kB / 0.5418 GB, free: 8.941 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005387/0.9003, allocations: 3.858 MB / 0.5456 GB, free: 5.113 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0004812/0.9008, allocations: 136.2 kB / 0.5457 GB, free: 4.969 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.9023, allocations: 0.9037 MB / 0.5466 GB, free: 4.074 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/0.9092, allocations: 0.8928 MB / 0.5475 GB, free: 3.215 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/0.9352, allocations: 16.4 MB / 0.5635 GB, free: 1.711 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004759/0.94, allocations: 2.447 MB / 0.5659 GB, free: 15.23 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003486/0.9435, allocations: 0.8827 MB / 0.5667 GB, free: 14.35 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.945, allocations: 0.9112 MB / 0.5676 GB, free: 13.44 MB / 442.8 MB Notification: Performance of SimCode: time 4.008e-06/0.945, allocations: 0 / 0.5676 GB, free: 13.44 MB / 442.8 MB Notification: Performance of Templates: time 0.07877/1.024, allocations: 43.94 MB / 0.6105 GB, free: 1.582 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.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: 5.398908931296319]