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.001191/0.001191, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.00297, allocations: 435.8 kB / 10.33 MB, free: 368 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.001162/0.001162, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002719, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9621/0.9621, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08138/1.043, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.03766/0.03766, allocations: 6.185 MB / 250.2 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01629/0.05395, allocations: 2.3 MB / 252.5 MB, free: 6.594 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.483e-06/1.483e-06, allocations: 0 / 253.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.02e-05, allocations: 6.312 kB / 253.7 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007111/0.007131, allocations: 5.439 MB / 259.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004192/0.01132, allocations: 2.044 MB / 261.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.01182, allocations: 23.94 kB / 261.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009484/0.01276, allocations: 457.9 kB / 261.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.01427, allocations: 0.7463 MB / 262.4 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.01456, allocations: 123.5 kB / 262.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.01653, allocations: 1.588 MB / 264.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006161/0.01715, allocations: 325.8 kB / 264.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.01825, allocations: 0.8008 MB / 265.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.01934, allocations: 0.7674 MB / 266 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.01961, allocations: 88 kB / 266.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009082/0.02051, allocations: 339.4 kB / 266.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005652/0.02108, allocations: 0.666 MB / 267.1 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.02153, allocations: 366.5 kB / 267.5 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.02338, allocations: 1.742 MB / 269.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.02339, allocations: 3.938 kB / 269.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02339, allocations: 0 / 269.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.02345, allocations: 0 / 269.2 MB, free: 5.75 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.002802/0.02625, allocations: 2.292 MB / 271.5 MB, free: 3.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.02629, allocations: 8.031 kB / 271.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.02989, allocations: 0.7627 MB / 272.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.03103, allocations: 0.673 MB / 272.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.03109, allocations: 78.38 kB / 273 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.03132, allocations: 115.8 kB / 273.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1173/0.1486, allocations: 2.569 MB / 275.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.1486, allocations: 20.14 kB / 275.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.1488, allocations: 60.78 kB / 275.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/0.1501, allocations: 1.012 MB / 276.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.1531, allocations: 1.447 MB / 278.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.1643, allocations: 17.11 MB / 295.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.1651, allocations: 0.5726 MB / 295.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/0.1654, allocations: 258.6 kB / 296.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.1655, allocations: 19.03 kB / 296.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1655, allocations: 47.12 kB / 296.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.1655, allocations: 0 / 296.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=96): time 0.01534/0.1809, allocations: 1.727 MB / 298 MB, free: 10.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.1809, allocations: 143 kB / 298.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.1824, allocations: 1.674 MB / 299.8 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.1825, allocations: 37.42 kB / 299.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.1835, allocations: 1.759 MB / 301.6 MB, free: 8.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.1838, allocations: 408.4 kB / 302 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007444/0.1846, allocations: 0.753 MB / 302.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.1847, allocations: 339.5 kB / 303.1 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.1853, allocations: 0.506 MB / 303.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.1872, allocations: 3.004 MB / 306.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.1906, allocations: 3.919 MB / 310.5 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-05/0.1906, allocations: 29.31 kB / 310.5 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.006668/0.1973, allocations: 3.181 MB / 313.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/0.1974, allocations: 45.88 kB / 313.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.564e-05/0.1975, allocations: 94.08 kB / 313.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.1995, allocations: 0.7746 MB / 314.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.2014, allocations: 0.9632 MB / 315.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.2026, allocations: 0.9682 MB / 316.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.2041, allocations: 0.5319 MB / 317.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.2043, allocations: 224 kB / 317.3 MB, free: 9.859 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.0006213/0.2049, allocations: 451 kB / 317.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2051, allocations: 107.8 kB / 317.8 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005765/0.2108, allocations: 1.129 MB / 319 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/0.2109, allocations: 19.98 kB / 319 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2109, allocations: 1.312 kB / 319 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.2109, allocations: 3.984 kB / 319 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.2158, allocations: 2.154 MB / 321.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2158, allocations: 4 kB / 321.2 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.2161, allocations: 100.7 kB / 321.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.2164, allocations: 254.4 kB / 321.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.2181, allocations: 0.7767 MB / 322.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.2182, allocations: 15.98 kB / 322.3 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009518/0.2191, allocations: 0.7932 MB / 323.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2191, allocations: 3.938 kB / 323.1 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/0.2235, allocations: 1.349 MB / 324.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.2238, allocations: 16.83 kB / 324.5 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.2244, allocations: 27.92 kB / 324.5 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.2245, allocations: 40.14 kB / 324.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.2245, allocations: 26.88 kB / 324.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000833/0.2254, allocations: 0.622 MB / 325.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2254, allocations: 0 / 325.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002973/0.2283, allocations: 0.6197 MB / 325.8 MB, free: 1.512 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.0004267/0.2288, allocations: 156.1 kB / 325.9 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.2312, allocations: 1.75 MB / 327.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001054/0.2313, allocations: 55.94 kB / 327.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.2317, allocations: 323.8 kB / 328.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000902/0.2326, allocations: 368.6 kB / 328.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.2372, allocations: 3.412 MB / 331.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.2376, allocations: 0.5723 MB / 332.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006382/0.2382, allocations: 293.2 kB / 332.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.2386, allocations: 295.3 kB / 333 MB, free: 10.31 MB / 314.7 MB Notification: Performance of SimCode: time 1.352e-06/0.2386, allocations: 0 / 333 MB, free: 10.31 MB / 314.7 MB Notification: Performance of Templates: time 0.02796/0.2665, allocations: 23.04 MB / 356 MB, free: 3.477 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: 3.1295108376070857]