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.001017/0.001017, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.00201/0.00201, allocations: 165 kB / 23.02 MB, free: 1.555 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.9597/0.9597, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02608/0.02608, allocations: 6.21 MB / 266.1 MB, free: 7.086 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.714e-06/1.714e-06, allocations: 0 / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.446e-05, allocations: 2.312 kB / 337.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004232/0.004257, allocations: 5.472 MB / 343.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.00707, allocations: 1.978 MB / 345.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.007524, allocations: 19.94 kB / 345.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.008376, allocations: 453.8 kB / 345.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.009501, allocations: 0.7542 MB / 346.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.009728, allocations: 111.6 kB / 346.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.01087, allocations: 1.592 MB / 348 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005069/0.01137, allocations: 381.4 kB / 348.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008978/0.01227, allocations: 0.7596 MB / 349.1 MB, free: 144 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008966/0.01317, allocations: 0.8143 MB / 349.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.01333, allocations: 92 kB / 350 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.0139, allocations: 327.4 kB / 350.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.01437, allocations: 0.7438 MB / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.01473, allocations: 442.2 kB / 351.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.01637, allocations: 1.851 MB / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.01637, allocations: 4 kB / 353.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01637, allocations: 0 / 353.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.869e-05/0.01641, allocations: 3.938 kB / 353.4 MB, free: 11.87 MB / 282.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.002319/0.01873, allocations: 2.326 MB / 355.7 MB, free: 9.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.01877, allocations: 12.03 kB / 355.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.02276, allocations: 2.012 MB / 357.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.02393, allocations: 0.8046 MB / 358.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.02397, allocations: 78.38 kB / 358.6 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.02413, allocations: 111.8 kB / 358.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.02722, allocations: 3.179 MB / 361.9 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.02725, allocations: 19.81 kB / 361.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.02741, allocations: 59.91 kB / 362 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/0.02871, allocations: 1.236 MB / 363.2 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.0315, allocations: 1.619 MB / 364.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.04586, allocations: 25.16 MB / 390 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.04675, allocations: 0.605 MB / 390.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.04711, allocations: 334.5 kB / 390.9 MB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-05/0.04719, allocations: 23.98 kB / 391 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.04722, allocations: 53.33 kB / 391 MB, free: 4.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.705e-06/0.04722, allocations: 0 / 391 MB, free: 4.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.02946/0.07668, allocations: 11.2 MB / 402.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.07673, allocations: 140.5 kB / 402.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.0789, allocations: 2.164 MB / 404.5 MB, free: 6.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.07901, allocations: 41.69 kB / 404.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009065/0.07991, allocations: 1.932 MB / 406.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.08023, allocations: 417 kB / 406.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/0.08092, allocations: 0.8768 MB / 407.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.08105, allocations: 0.5004 MB / 408.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/0.08182, allocations: 0.4957 MB / 408.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1225/0.2043, allocations: 4.366 MB / 413.1 MB, free: 70.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/0.2076, allocations: 5.313 MB / 418.4 MB, free: 65.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-05/0.2077, allocations: 26.38 kB / 418.5 MB, free: 65.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.03134/0.239, allocations: 12.93 MB / 431.4 MB, free: 60.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.2391, allocations: 44.97 kB / 431.4 MB, free: 60.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.4e-05/0.2392, allocations: 92 kB / 431.5 MB, free: 60.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004127/0.2433, allocations: 1.132 MB / 432.7 MB, free: 59.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.2456, allocations: 0.8683 MB / 433.5 MB, free: 58.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008282/0.2465, allocations: 1.341 MB / 434.9 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.2482, allocations: 0.582 MB / 435.5 MB, free: 57.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.2484, allocations: 250.4 kB / 435.7 MB, free: 56.89 MB / 330.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.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 (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.0005492/0.249, allocations: 494.4 kB / 436.2 MB, free: 56.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2492, allocations: 205.8 kB / 436.4 MB, free: 56.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.2509, allocations: 1.266 MB / 437.6 MB, free: 55.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002862/0.2512, allocations: 111.5 kB / 437.8 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2512, allocations: 6.938 kB / 437.8 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2512, allocations: 7.984 kB / 437.8 MB, free: 55.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.2551, allocations: 2.892 MB / 440.7 MB, free: 52.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.2551, allocations: 4 kB / 440.7 MB, free: 52.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.2554, allocations: 87.5 kB / 440.8 MB, free: 52.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.2571, allocations: 1.006 MB / 441.8 MB, free: 51.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.2572, allocations: 18.62 kB / 441.8 MB, free: 51.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006537/0.2578, allocations: 1.158 MB / 442.9 MB, free: 50.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2578, allocations: 0 / 442.9 MB, free: 50.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2591, allocations: 1.592 MB / 444.5 MB, free: 49.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.2595, allocations: 280.6 kB / 444.8 MB, free: 48.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.2596, allocations: 18.38 kB / 444.8 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.26, allocations: 63.89 kB / 444.9 MB, free: 48.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.26, allocations: 46.23 kB / 444.9 MB, free: 48.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.26, allocations: 31.98 kB / 445 MB, free: 48.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.2613, allocations: 0.8857 MB / 445.8 MB, free: 47.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2613, allocations: 0 / 445.8 MB, free: 47.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002051/0.2633, allocations: 0.6095 MB / 446.5 MB, free: 47.28 MB / 330.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.0002916/0.2636, allocations: 171.9 kB / 446.6 MB, free: 47.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002329/0.2659, allocations: 1.973 MB / 448.6 MB, free: 45.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2659, allocations: 0 / 448.6 MB, free: 45.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.2664, allocations: 414 kB / 449 MB, free: 44.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.2671, allocations: 174.1 kB / 449.2 MB, free: 44.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.2706, allocations: 3.438 MB / 452.6 MB, free: 41.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2709, allocations: 0.5798 MB / 453.2 MB, free: 40.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.2721, allocations: 1.102 MB / 454.3 MB, free: 39.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.2723, allocations: 128.5 kB / 454.4 MB, free: 39.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2723, allocations: 4 kB / 454.4 MB, free: 39.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02146/0.2938, allocations: 19.55 MB / 474 MB, free: 19.99 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.224315121769905]