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.0009515/0.0009515, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00191/0.00191, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9472/0.9472, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.02639/0.02639, allocations: 6.206 MB / 266.5 MB, free: 6.969 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.343e-06/1.343e-06, allocations: 0 / 284.8 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.166e-05, allocations: 2.312 kB / 284.8 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.1554/0.1554, allocations: 5.357 MB / 290.2 MB, free: 18.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.1583, allocations: 2.027 MB / 292.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.1587, allocations: 22.47 kB / 292.2 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.1594, allocations: 451.9 kB / 292.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.1605, allocations: 0.7521 MB / 293.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1608, allocations: 124.9 kB / 293.5 MB, free: 18.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1622, allocations: 1.592 MB / 295.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.1626, allocations: 414.1 kB / 295.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008719/0.1635, allocations: 0.7579 MB / 296.3 MB, free: 17.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008624/0.1644, allocations: 0.776 MB / 297.1 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.1646, allocations: 92.5 kB / 297.2 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.1651, allocations: 324.5 kB / 297.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004791/0.1656, allocations: 0.7402 MB / 298.2 MB, free: 17.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.166, allocations: 438.5 kB / 298.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.1674, allocations: 1.855 MB / 300.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1674, allocations: 0.9688 kB / 300.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1674, allocations: 0 / 300.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.303e-05/0.1674, allocations: 0 / 300.5 MB, free: 15.98 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.001756/0.1692, allocations: 1.942 MB / 302.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1692, allocations: 9.625 kB / 302.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.1713, allocations: 0.6843 MB / 303.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.172, allocations: 0.6655 MB / 303.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.172, allocations: 85.36 kB / 303.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.1722, allocations: 105.8 kB / 304 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.1739, allocations: 2.578 MB / 306.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.174, allocations: 24.5 kB / 306.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.1741, allocations: 62.27 kB / 306.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008723/0.175, allocations: 1.001 MB / 307.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1763, allocations: 1.345 MB / 309 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008008/0.1843, allocations: 17.07 MB / 326.1 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.1848, allocations: 0.5511 MB / 326.6 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.1851, allocations: 244.7 kB / 326.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.813e-05/0.1851, allocations: 13.31 kB / 326.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1851, allocations: 43.3 kB / 326.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 2.424e-06/0.1851, allocations: 0 / 326.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=96): time 0.0172/0.2023, allocations: 2.101 MB / 329 MB, free: 4.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.2024, allocations: 140.5 kB / 329.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.2036, allocations: 1.684 MB / 330.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.2037, allocations: 37.69 kB / 330.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00066/0.2043, allocations: 1.766 MB / 332.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.2045, allocations: 393 kB / 333 MB, free: 320 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/0.2051, allocations: 0.7549 MB / 333.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.2052, allocations: 333.9 kB / 334.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.2057, allocations: 0.4897 MB / 334.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.2071, allocations: 2.988 MB / 337.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.2094, allocations: 3.941 MB / 341.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-05/0.2094, allocations: 24 kB / 341.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01798/0.2274, allocations: 3.811 MB / 345.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.2274, allocations: 44 kB / 345.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.468e-05/0.2275, allocations: 95.38 kB / 345.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.2289, allocations: 0.7605 MB / 346.3 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.2301, allocations: 0.8577 MB / 347.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006782/0.2308, allocations: 0.9673 MB / 348.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.232, allocations: 0.5195 MB / 348.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.2322, allocations: 224 kB / 348.8 MB, free: 13.82 MB / 314.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 (476): * Single equations (assignments): 471 * Array equations: 4 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.00055/0.2327, allocations: 443 kB / 349.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.2329, allocations: 107.9 kB / 349.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2342, allocations: 0.8522 MB / 350.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001982/0.2344, allocations: 39.97 kB / 350.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2344, allocations: 0 / 350.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2344, allocations: 0 / 350.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.2371, allocations: 1.872 MB / 352.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2371, allocations: 4 kB / 352.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2372, allocations: 75.91 kB / 352.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.2386, allocations: 0.7427 MB / 352.9 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.2386, allocations: 19.97 kB / 353 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000549/0.2392, allocations: 0.7754 MB / 353.7 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2392, allocations: 4 kB / 353.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/0.2402, allocations: 1.19 MB / 354.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.2404, allocations: 238.5 kB / 355.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.2405, allocations: 15.94 kB / 355.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.2408, allocations: 15.98 kB / 355.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.2409, allocations: 39.92 kB / 355.2 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.2409, allocations: 23.98 kB / 355.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00047/0.2414, allocations: 0.6223 MB / 355.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2414, allocations: 4 kB / 355.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001482/0.2429, allocations: 0.6004 MB / 356.5 MB, free: 6.008 MB / 314.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 (53): * Single equations (assignments): 48 * Array equations: 4 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002552/0.2431, allocations: 161 kB / 356.6 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.2446, allocations: 1.706 MB / 358.3 MB, free: 4.141 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.611e-05/0.2446, allocations: 51.94 kB / 358.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.245, allocations: 305.2 kB / 358.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.2457, allocations: 260 kB / 358.9 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.2489, allocations: 3.358 MB / 362.3 MB, free: 112 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.2493, allocations: 0.5763 MB / 362.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.2499, allocations: 277.5 kB / 363.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.2502, allocations: 303.3 kB / 363.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2502, allocations: 3.938 kB / 363.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Templates: time 0.02289/0.273, allocations: 20.72 MB / 384.2 MB, free: 10.39 MB / 346.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.0127452542074025]