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.0009325/0.0009325, 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.001057/0.001057, allocations: 169 kB / 24.14 MB, free: 360 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 0.9262/0.9262, allocations: 158.6 MB / 186 MB, free: 2.48 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.1249/0.1249, allocations: 32.38 MB / 270.7 MB, free: 14.57 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.804e-06/1.804e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.95e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.1559/0.1559, allocations: 16.87 MB / 316 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.1683, allocations: 5.546 MB / 321.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/0.1719, allocations: 152.5 kB / 321.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005418/0.1773, allocations: 6.467 MB / 328.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.1833, allocations: 3.372 MB / 331.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.1855, allocations: 1.797 MB / 333.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008207/0.1937, allocations: 9.579 MB / 342.9 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006202/0.1999, allocations: 6.753 MB / 349.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008827/0.2088, allocations: 4.943 MB / 354.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007668/0.2164, allocations: 4.789 MB / 359.4 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002643/0.2191, allocations: 0.6797 MB / 360.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.2232, allocations: 1.514 MB / 361.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004654/0.2278, allocations: 4.368 MB / 365.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00465/0.2325, allocations: 2.633 MB / 368.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.2453, allocations: 8.787 MB / 377.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.2453, allocations: 4 kB / 377.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2453, allocations: 0 / 377.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006423/0.2459, allocations: 0 / 377.4 MB, free: 15.63 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.01502/0.2609, allocations: 8.849 MB / 386.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.261, allocations: 12.03 kB / 386.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005787/0.2668, allocations: 1.94 MB / 388.2 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/0.2728, allocations: 4.003 MB / 392.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.2731, allocations: 476.3 kB / 392.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/0.2744, allocations: 0.6135 MB / 393.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.2919, allocations: 9.4 MB / 402.6 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.2921, allocations: 75.33 kB / 402.7 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005662/0.2927, allocations: 299.7 kB / 403 MB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002932/0.2956, allocations: 3.348 MB / 406.4 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.3074, allocations: 4.682 MB / 411 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3553/0.6627, allocations: 57.25 MB / 468.3 MB, free: 77.54 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009776/0.6724, allocations: 3.404 MB / 471.7 MB, free: 77.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.6742, allocations: 0.649 MB / 472.3 MB, free: 77.27 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.6861, allocations: 6.269 MB / 478.6 MB, free: 76.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.6862, allocations: 60.53 kB / 478.7 MB, free: 76.51 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 6.853e-06/0.6862, allocations: 0 / 478.7 MB, free: 76.51 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.01692/0.7031, allocations: 7.961 MB / 486.6 MB, free: 75.86 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.7031, allocations: 160.6 kB / 486.8 MB, free: 75.7 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/0.7082, allocations: 5.279 MB / 492.1 MB, free: 74.83 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.7084, allocations: 74.16 kB / 492.1 MB, free: 74.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.7102, allocations: 5.527 MB / 497.7 MB, free: 70.61 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/0.7108, allocations: 1.087 MB / 498.8 MB, free: 69.81 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.7123, allocations: 1.802 MB / 0.4888 GB, free: 69.18 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.7123, allocations: 305.1 kB / 0.4891 GB, free: 68.88 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.714, allocations: 1.108 MB / 0.4902 GB, free: 68.52 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.7169, allocations: 6.815 MB / 0.4969 GB, free: 59.1 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/0.7223, allocations: 8.918 MB / 0.5056 GB, free: 47.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.7224, allocations: 60 kB / 0.5056 GB, free: 47.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.007398/0.7298, allocations: 6.395 MB / 0.5119 GB, free: 41.48 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.7299, allocations: 96 kB / 0.512 GB, free: 41.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/0.7301, allocations: 208 kB / 0.5122 GB, free: 41.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.7302, allocations: 276 kB / 0.5124 GB, free: 40.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/0.7338, allocations: 2.273 MB / 0.5146 GB, free: 38.63 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001367/0.734, allocations: 413.3 kB / 0.515 GB, free: 38.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004398/0.7384, allocations: 407.7 kB / 0.5154 GB, free: 37.83 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/0.7388, allocations: 0.51 MB / 0.5159 GB, free: 37.32 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.002236/0.741, allocations: 0.9017 MB / 0.5168 GB, free: 36.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007394/0.7417, allocations: 367.6 kB / 0.5171 GB, free: 36.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.7431, allocations: 1.345 MB / 0.5185 GB, free: 34.68 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.7431, allocations: 32 kB / 0.5185 GB, free: 34.65 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7431, allocations: 0 / 0.5185 GB, free: 34.65 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.7431, allocations: 11.95 kB / 0.5185 GB, free: 34.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.7554, allocations: 11.86 MB / 0.5301 GB, free: 21.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-05/0.7554, allocations: 64 kB / 0.5301 GB, free: 21.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.7564, allocations: 0.6188 MB / 0.5308 GB, free: 20.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.554e-05/0.7565, allocations: 84 kB / 0.5308 GB, free: 20.9 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.7566, allocations: 140.7 kB / 0.531 GB, free: 20.76 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.023e-05/0.7566, allocations: 119.5 kB / 0.5311 GB, free: 20.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.973e-05/0.7567, allocations: 107.5 kB / 0.5312 GB, free: 20.54 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.7595, allocations: 4.595 MB / 0.5357 GB, free: 14.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/0.7604, allocations: 0.6442 MB / 0.5363 GB, free: 14.07 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.7608, allocations: 144 kB / 0.5364 GB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.7621, allocations: 132 kB / 0.5366 GB, free: 13.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.7623, allocations: 433.8 kB / 0.537 GB, free: 13.37 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.7624, allocations: 152 kB / 0.5371 GB, free: 13.22 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00182/0.7642, allocations: 2.304 MB / 0.5394 GB, free: 10.91 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7642, allocations: 0 / 0.5394 GB, free: 10.91 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005543/0.7698, allocations: 1.746 MB / 0.5411 GB, free: 9.168 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.0004345/0.7702, allocations: 334.8 kB / 0.5414 GB, free: 8.832 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.7744, allocations: 3.855 MB / 0.5452 GB, free: 5.008 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002039/0.7746, allocations: 136.2 kB / 0.5453 GB, free: 4.863 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.7754, allocations: 0.9144 MB / 0.5462 GB, free: 3.957 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.7788, allocations: 0.8879 MB / 0.547 GB, free: 3.102 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/0.8019, allocations: 16.41 MB / 0.5631 GB, free: 1.594 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.8049, allocations: 2.447 MB / 0.5655 GB, free: 15.12 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.002624/0.8076, allocations: 0.8827 MB / 0.5663 GB, free: 14.23 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.8089, allocations: 0.9112 MB / 0.5672 GB, free: 13.32 MB / 442.8 MB Notification: Performance of SimCode: time 2.114e-06/0.8089, allocations: 0 / 0.5672 GB, free: 13.32 MB / 442.8 MB Notification: Performance of Templates: time 0.0829/0.8918, allocations: 43.93 MB / 0.6101 GB, free: 1.469 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 -s gbode -gbm=radauIIA3 -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: 4.739614933729172]