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.0009851/0.0009851, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.0009625/0.0009625, allocations: 169 kB / 24.25 MB, free: 308 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.8903/0.8903, allocations: 158.6 MB / 186 MB, free: 2.93 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.1377/0.1377, allocations: 32.38 MB / 270.7 MB, free: 14.78 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.553e-06/1.553e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.551e-05, allocations: 5.406 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01456/0.01459, allocations: 17.22 MB / 364.9 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02504, allocations: 5.338 MB / 370.2 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.02775, allocations: 155.3 kB / 370.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006811/0.03456, allocations: 6.55 MB / 376.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.04145, allocations: 3.39 MB / 380.3 MB, free: 9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.04396, allocations: 1.789 MB / 382.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009478/0.05344, allocations: 9.634 MB / 391.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006992/0.06043, allocations: 7.006 MB / 398.7 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008904/0.06933, allocations: 5.013 MB / 403.8 MB, free: 1.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008224/0.07756, allocations: 5 MB / 408.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002446/0.08, allocations: 0.6836 MB / 409.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/0.08452, allocations: 1.475 MB / 410.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006179/0.0907, allocations: 4.375 MB / 415.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005029/0.09573, allocations: 2.636 MB / 417.9 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.1065, allocations: 8.78 MB / 426.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1065, allocations: 4 kB / 426.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1065, allocations: 0 / 426.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003662/0.1069, allocations: 0 / 426.7 MB, free: 10.41 MB / 362.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.3259/0.4328, allocations: 10.45 MB / 437.2 MB, free: 61.96 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/0.4329, allocations: 8.969 kB / 437.2 MB, free: 61.96 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009454/0.4424, allocations: 3.727 MB / 440.9 MB, free: 61.45 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008597/0.4509, allocations: 4.496 MB / 445.4 MB, free: 60.57 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/0.4514, allocations: 469.6 kB / 445.9 MB, free: 60.56 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/0.4541, allocations: 0.6175 MB / 446.5 MB, free: 60.55 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02642/0.4806, allocations: 11.7 MB / 458.2 MB, free: 55.67 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006454/0.4812, allocations: 72.8 kB / 458.2 MB, free: 55.67 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001923/0.4831, allocations: 298.6 kB / 458.5 MB, free: 55.67 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.4868, allocations: 3.646 MB / 462.2 MB, free: 54.35 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.5042, allocations: 6.046 MB / 468.2 MB, free: 49.5 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06988/0.5741, allocations: 80.41 MB / 0.5358 GB, free: 15.79 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.5839, allocations: 3.887 MB / 0.5396 GB, free: 11.87 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.586, allocations: 0.9406 MB / 0.5405 GB, free: 10.91 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/0.5993, allocations: 6.967 MB / 0.5473 GB, free: 4.047 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.408e-05/0.5994, allocations: 71.23 kB / 0.5474 GB, free: 3.973 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 7.293e-06/0.5994, allocations: 0 / 0.5474 GB, free: 3.973 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.03506/0.6344, allocations: 14.78 MB / 0.5618 GB, free: 5.305 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003827/0.6348, allocations: 162.4 kB / 0.562 GB, free: 5.121 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007177/0.642, allocations: 5.919 MB / 0.5677 GB, free: 15.18 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005455/0.6426, allocations: 68.75 kB / 0.5678 GB, free: 15.11 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004178/0.6467, allocations: 6.194 MB / 0.5738 GB, free: 8.957 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001544/0.6483, allocations: 1.127 MB / 0.5749 GB, free: 7.844 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002735/0.651, allocations: 2.044 MB / 0.5769 GB, free: 5.789 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6511, allocations: 484.5 kB / 0.5774 GB, free: 5.316 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.6526, allocations: 0.9516 MB / 0.5783 GB, free: 4.359 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006692/0.6593, allocations: 9.65 MB / 0.5878 GB, free: 6.801 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2139/0.8732, allocations: 11.74 MB / 0.5992 GB, free: 119.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004693/0.8737, allocations: 60.88 kB / 0.5993 GB, free: 119.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01763/0.8913, allocations: 8.03 MB / 0.6071 GB, free: 119 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.8915, allocations: 93.72 kB / 0.6072 GB, free: 119 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002813/0.8917, allocations: 209.7 kB / 0.6074 GB, free: 119 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.892, allocations: 275.9 kB / 0.6077 GB, free: 119 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/0.8978, allocations: 2.214 MB / 0.6098 GB, free: 118.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/0.8981, allocations: 408.8 kB / 0.6102 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008159/0.9063, allocations: 0.6996 MB / 0.6109 GB, free: 118.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/0.9082, allocations: 0.5756 MB / 0.6115 GB, free: 118.7 MB / 458.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.00429/0.9125, allocations: 0.9547 MB / 0.6124 GB, free: 118.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/0.9139, allocations: 0.6329 MB / 0.613 GB, free: 118.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.9168, allocations: 1.72 MB / 0.6147 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.802e-05/0.9169, allocations: 28.98 kB / 0.6147 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.9169, allocations: 3.438 kB / 0.6147 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.9169, allocations: 11.44 kB / 0.6147 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/0.9408, allocations: 13.62 MB / 0.628 GB, free: 113.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001623/0.9409, allocations: 63.59 kB / 0.6281 GB, free: 113.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.9425, allocations: 0.6118 MB / 0.6287 GB, free: 113.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.704e-05/0.9425, allocations: 86.28 kB / 0.6288 GB, free: 113.8 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.9427, allocations: 140.1 kB / 0.6289 GB, free: 113.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.166e-05/0.9428, allocations: 125 kB / 0.629 GB, free: 113.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.285e-05/0.9428, allocations: 102.1 kB / 0.6291 GB, free: 113.8 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.949, allocations: 5.585 MB / 0.6346 GB, free: 107.9 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/0.9513, allocations: 0.6858 MB / 0.6353 GB, free: 107.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/0.9525, allocations: 150.4 kB / 0.6354 GB, free: 107.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/0.9551, allocations: 296 kB / 0.6357 GB, free: 107.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.9555, allocations: 439.9 kB / 0.6361 GB, free: 107.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.9557, allocations: 175.7 kB / 0.6363 GB, free: 106.9 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003973/0.9597, allocations: 2.581 MB / 0.6388 GB, free: 105.3 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9597, allocations: 0 / 0.6388 GB, free: 105.3 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00947/0.9692, allocations: 1.752 MB / 0.6405 GB, free: 103.8 MB / 458.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.001099/0.9703, allocations: 358.5 kB / 0.6408 GB, free: 103.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006955/0.9772, allocations: 4.321 MB / 0.6451 GB, free: 100.3 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.114e-05/0.9773, allocations: 12 kB / 0.6451 GB, free: 100.3 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.9787, allocations: 1.009 MB / 0.6461 GB, free: 99.55 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005456/0.9841, allocations: 0.8998 MB / 0.6469 GB, free: 99.09 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/1.01, allocations: 16.54 MB / 0.6631 GB, free: 82.59 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003932/1.014, allocations: 2.452 MB / 0.6655 GB, free: 80.84 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005876/1.02, allocations: 2.492 MB / 0.6679 GB, free: 79.32 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.021, allocations: 412.4 kB / 0.6683 GB, free: 78.92 MB / 458.8 MB Notification: Performance of SimCode: time 3.376e-06/1.021, allocations: 0 / 0.6683 GB, free: 78.92 MB / 458.8 MB Notification: Performance of Templates: time 0.0674/1.089, allocations: 39.28 MB / 0.7067 GB, free: 39.85 MB / 458.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.226036533946171]