Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.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.000973/0.000973, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002445, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001085/0.001085, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002496, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9134/0.9134, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07917/0.9925, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.02653/0.02653, allocations: 6.191 MB / 250.3 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003759/0.03029, allocations: 2.304 MB / 252.6 MB, free: 6.48 MB / 250.7 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/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(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 253.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.749e-05, allocations: 6.25 kB / 253.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004224/0.004242, allocations: 5.443 MB / 259.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.006925, allocations: 2.04 MB / 261.4 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.007221, allocations: 23.94 kB / 261.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005919/0.007813, allocations: 453.9 kB / 261.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.008766, allocations: 0.758 MB / 262.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.008968, allocations: 115.6 kB / 262.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.01021, allocations: 1.569 MB / 264.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.01062, allocations: 333.8 kB / 264.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006858/0.0113, allocations: 0.8008 MB / 265.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.01197, allocations: 0.7636 MB / 266.2 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.01209, allocations: 92 kB / 266.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.01255, allocations: 339.3 kB / 266.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.0129, allocations: 0.666 MB / 267.3 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.01316, allocations: 362.6 kB / 267.7 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.01433, allocations: 1.742 MB / 269.4 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.01434, allocations: 0 / 269.4 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01434, allocations: 4 kB / 269.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.01437, allocations: 0 / 269.4 MB, free: 5.613 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.001728/0.01609, allocations: 2.296 MB / 271.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.01612, allocations: 8.031 kB / 271.7 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.01831, allocations: 0.7666 MB / 272.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.01895, allocations: 0.6652 MB / 273.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.019, allocations: 82.38 kB / 273.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.01914, allocations: 107.8 kB / 273.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.103/0.1221, allocations: 2.573 MB / 275.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.1222, allocations: 23.16 kB / 275.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.1223, allocations: 57.38 kB / 276 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001249/0.1236, allocations: 0.9357 MB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.1263, allocations: 1.449 MB / 278.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009837/0.1362, allocations: 17.11 MB / 295.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.1369, allocations: 0.5727 MB / 296.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.1373, allocations: 254.1 kB / 296.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.1374, allocations: 18.98 kB / 296.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1374, allocations: 52.11 kB / 296.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 3.065e-06/0.1374, allocations: 1.375 kB / 296.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=96): time 0.01365/0.151, allocations: 1.729 MB / 298.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1511, allocations: 141.6 kB / 298.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.1524, allocations: 1.673 MB / 299.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.1525, allocations: 40.03 kB / 300 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008197/0.1533, allocations: 1.761 MB / 301.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.1536, allocations: 404.5 kB / 302.1 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007285/0.1543, allocations: 0.7595 MB / 302.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.1544, allocations: 340.9 kB / 303.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006453/0.155, allocations: 0.5085 MB / 303.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.1569, allocations: 3.001 MB / 306.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/0.1605, allocations: 4.215 MB / 310.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-05/0.1606, allocations: 28 kB / 311 MB, free: 3.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006424/0.167, allocations: 3.183 MB / 314.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.167, allocations: 44 kB / 314.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.661e-05/0.1671, allocations: 104 kB / 314.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.1691, allocations: 0.7749 MB / 315.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.171, allocations: 0.9554 MB / 316 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/0.172, allocations: 0.9554 MB / 317 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.1738, allocations: 0.5285 MB / 317.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.174, allocations: 220 kB / 317.7 MB, free: 12.35 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 12 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 474 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004933/0.1745, allocations: 458 kB / 318.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.1747, allocations: 103.9 kB / 318.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005777/0.1805, allocations: 1.128 MB / 319.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.1805, allocations: 15.98 kB / 319.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1805, allocations: 0 / 319.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1805, allocations: 7.984 kB / 319.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/0.1849, allocations: 2.147 MB / 321.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.1849, allocations: 11.98 kB / 321.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.1851, allocations: 100.7 kB / 321.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.1854, allocations: 255.5 kB / 321.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.1868, allocations: 0.7681 MB / 322.7 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.1868, allocations: 19.97 kB / 322.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006086/0.1874, allocations: 0.7738 MB / 323.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1874, allocations: 3.938 kB / 323.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.1902, allocations: 1.358 MB / 324.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.1903, allocations: 13.88 kB / 324.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.1906, allocations: 19.94 kB / 324.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1907, allocations: 41.08 kB / 324.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1907, allocations: 23.97 kB / 324.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004491/0.1912, allocations: 0.6301 MB / 325.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1912, allocations: 4 kB / 325.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001508/0.1927, allocations: 0.6138 MB / 326.2 MB, free: 3.738 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (55): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002713/0.193, allocations: 166.5 kB / 326.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1946, allocations: 1.824 MB / 328.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.824e-05/0.1947, allocations: 55.94 kB / 328.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.1951, allocations: 365.7 kB / 328.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.1961, allocations: 1.148 MB / 329.7 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.1999, allocations: 3.41 MB / 333.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.2003, allocations: 0.564 MB / 333.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005455/0.2009, allocations: 287.5 kB / 334 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.2011, allocations: 291.3 kB / 334.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2011, allocations: 4 kB / 334.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of Templates: time 0.02264/0.2238, allocations: 18.98 MB / 353.3 MB, free: 8.602 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.makefile [Timeout 660] (rm -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.sim & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.698359248228371]