Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.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.001035/0.001035, 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.001007/0.001007, 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 0.8658/0.8658, 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.1594/0.1594, 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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.704e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1436/0.1436, allocations: 15.98 MB / 315.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1555, allocations: 5.441 MB / 320.5 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00399/0.1595, allocations: 147.9 kB / 320.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007583/0.1671, allocations: 6.432 MB / 327.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008468/0.1755, allocations: 3.265 MB / 330.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.1795, allocations: 1.789 MB / 332.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.1909, allocations: 9.38 MB / 341.5 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008859/0.1998, allocations: 6.642 MB / 348.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008989/0.2088, allocations: 4.814 MB / 353 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00702/0.2158, allocations: 4.688 MB / 357.7 MB, free: 3.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002166/0.218, allocations: 0.6562 MB / 358.3 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.2213, allocations: 1.486 MB / 359.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003972/0.2253, allocations: 4.235 MB / 364.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004319/0.2296, allocations: 2.559 MB / 366.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.2398, allocations: 8.507 MB / 375.1 MB, free: 1.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2398, allocations: 0 / 375.1 MB, free: 1.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2398, allocations: 3.938 kB / 375.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004309/0.2403, allocations: 0 / 375.1 MB, free: 1.906 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.0135/0.2538, allocations: 8.556 MB / 383.7 MB, free: 9.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2538, allocations: 8.031 kB / 383.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004993/0.2588, allocations: 1.89 MB / 385.6 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.2649, allocations: 3.932 MB / 389.5 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.2652, allocations: 456.9 kB / 390 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.2662, allocations: 0.5939 MB / 390.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.2812, allocations: 9.072 MB / 399.6 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004682/0.2817, allocations: 75.33 kB / 399.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005898/0.2822, allocations: 283.7 kB / 400 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002866/0.2851, allocations: 3.16 MB / 403.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.2973, allocations: 4.561 MB / 407.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05731/0.3546, allocations: 55.32 MB / 463 MB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.3666, allocations: 3.468 MB / 466.5 MB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.3684, allocations: 0.6265 MB / 467.1 MB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.268/0.6365, allocations: 6.088 MB / 473.2 MB, free: 134.3 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.6365, allocations: 61.84 kB / 473.3 MB, free: 134.3 MB / 426.8 MB Notification: Performance of pre-optimization done (n=238): time 4.759e-06/0.6365, allocations: 0 / 473.3 MB, free: 134.3 MB / 426.8 MB Notification: Performance of matching and sorting (n=262): time 0.01954/0.6561, allocations: 7.806 MB / 481.1 MB, free: 134.1 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.6561, allocations: 157.5 kB / 481.2 MB, free: 134 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.66, allocations: 5.18 MB / 486.4 MB, free: 133.4 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.6602, allocations: 68.97 kB / 486.5 MB, free: 133.3 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.6617, allocations: 5.311 MB / 491.8 MB, free: 130.4 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004968/0.6622, allocations: 1.044 MB / 492.8 MB, free: 129.8 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.6633, allocations: 1.743 MB / 494.6 MB, free: 129.2 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.012e-05/0.6633, allocations: 304.8 kB / 494.9 MB, free: 128.9 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.6647, allocations: 1.07 MB / 495.9 MB, free: 128.7 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.6671, allocations: 6.594 MB / 0.4908 GB, free: 120.8 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004754/0.6719, allocations: 8.621 MB / 0.4992 GB, free: 112.2 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-05/0.672, allocations: 58.56 kB / 0.4992 GB, free: 112.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.006758/0.6787, allocations: 6.19 MB / 0.5053 GB, free: 106.2 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.6788, allocations: 91.94 kB / 0.5054 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.212e-05/0.6789, allocations: 205.3 kB / 0.5056 GB, free: 105.9 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.679, allocations: 272 kB / 0.5058 GB, free: 105.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/0.6824, allocations: 2.203 MB / 0.508 GB, free: 103.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.6825, allocations: 394.5 kB / 0.5083 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.6868, allocations: 399.7 kB / 0.5087 GB, free: 102.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003817/0.6872, allocations: 500 kB / 0.5092 GB, free: 102.1 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * 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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1155): * Single equations (assignments): 1144 * 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.002174/0.6894, allocations: 0.8795 MB / 0.5101 GB, free: 101.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/0.69, allocations: 355.6 kB / 0.5104 GB, free: 100.9 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.6913, allocations: 1.278 MB / 0.5117 GB, free: 99.6 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/0.6913, allocations: 28 kB / 0.5117 GB, free: 99.57 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6913, allocations: 1.969 kB / 0.5117 GB, free: 99.57 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.6913, allocations: 11.95 kB / 0.5117 GB, free: 99.56 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.703, allocations: 10.47 MB / 0.5219 GB, free: 88.11 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.703, allocations: 52 kB / 0.522 GB, free: 88.06 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/0.7039, allocations: 0.5116 MB / 0.5225 GB, free: 87.55 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.717e-05/0.704, allocations: 71.94 kB / 0.5225 GB, free: 87.48 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.7041, allocations: 120 kB / 0.5227 GB, free: 87.36 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.379e-05/0.7041, allocations: 104.7 kB / 0.5228 GB, free: 87.26 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-05/0.7041, allocations: 83.62 kB / 0.5228 GB, free: 87.18 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.7065, allocations: 4.026 MB / 0.5268 GB, free: 82.13 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008525/0.7074, allocations: 0.6076 MB / 0.5274 GB, free: 81.52 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003797/0.7077, allocations: 127.9 kB / 0.5275 GB, free: 81.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.709, allocations: 104 kB / 0.5276 GB, free: 81.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.7092, allocations: 367 kB / 0.5279 GB, free: 80.94 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.7093, allocations: 128 kB / 0.528 GB, free: 80.81 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.00192/0.7112, allocations: 2.261 MB / 0.5303 GB, free: 78.54 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.7112, allocations: 4 kB / 0.5303 GB, free: 78.54 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007311/0.7185, allocations: 1.699 MB / 0.5319 GB, free: 76.84 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0005706/0.7191, allocations: 297.1 kB / 0.5322 GB, free: 76.54 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004253/0.7234, allocations: 3.641 MB / 0.5358 GB, free: 72.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002255/0.7236, allocations: 136.2 kB / 0.5359 GB, free: 72.78 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.7244, allocations: 0.7659 MB / 0.5366 GB, free: 72.02 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.728, allocations: 0.8391 MB / 0.5375 GB, free: 71.22 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.7464, allocations: 15.53 MB / 0.5526 GB, free: 54.72 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.7489, allocations: 2.329 MB / 0.5549 GB, free: 52.37 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002357/0.7513, allocations: 0.8436 MB / 0.5557 GB, free: 51.55 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.7525, allocations: 0.8682 MB / 0.5566 GB, free: 50.68 MB / 426.8 MB Notification: Performance of SimCode: time 1.633e-06/0.7525, allocations: 0 / 0.5566 GB, free: 50.68 MB / 426.8 MB Notification: Performance of Templates: time 0.06551/0.818, allocations: 42.27 MB / 0.5978 GB, free: 8.504 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.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.59094453882426]