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.001695/0.001695, allocations: 85.48 kB / 19.44 MB, free: 344 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.001937/0.001937, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.0529/0.0529, allocations: 6.202 MB / 265.8 MB, free: 7.102 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.372e-06/1.372e-06, allocations: 0 / 336.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.91e-05, allocations: 4.562 kB / 336.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004793/0.004822, allocations: 5.423 MB / 342.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.007529, allocations: 1.97 MB / 344.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.007862, allocations: 23.94 kB / 344.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008898/0.008751, allocations: 437.9 kB / 344.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.009912, allocations: 0.7541 MB / 345.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.01011, allocations: 119.6 kB / 345.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.01116, allocations: 1.592 MB / 347.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.01148, allocations: 381.4 kB / 347.6 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.01203, allocations: 0.748 MB / 348.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.01291, allocations: 0.822 MB / 349.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.01311, allocations: 96 kB / 349.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006959/0.0138, allocations: 323.4 kB / 349.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007902/0.01459, allocations: 0.7437 MB / 350.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006101/0.0152, allocations: 442.2 kB / 350.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.01856, allocations: 2.748 MB / 353.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01856, allocations: 0 / 353.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01857, allocations: 0 / 353.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.01859, allocations: 4 kB / 353.5 MB, free: 11.39 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.003991/0.02258, allocations: 2.54 MB / 356 MB, free: 8.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.02262, allocations: 8.031 kB / 356 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008193/0.03081, allocations: 2.012 MB / 358 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.03289, allocations: 0.8085 MB / 358.9 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.03297, allocations: 78.38 kB / 358.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.03323, allocations: 115.8 kB / 359 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005671/0.0389, allocations: 3.366 MB / 362.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.03895, allocations: 19.81 kB / 362.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.03915, allocations: 63.89 kB / 362.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002891/0.04204, allocations: 1.228 MB / 363.7 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/0.04672, allocations: 1.872 MB / 365.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02937/0.07609, allocations: 26.8 MB / 392.4 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.0779, allocations: 0.6855 MB / 393.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.07879, allocations: 377.2 kB / 393.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.413e-05/0.07888, allocations: 19.94 kB / 393.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.07893, allocations: 45.33 kB / 393.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.806e-06/0.07893, allocations: 0 / 393.5 MB, free: 1.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.06885/0.1478, allocations: 11.34 MB / 404.8 MB, free: 6.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1479, allocations: 140.5 kB / 405 MB, free: 6.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/0.1523, allocations: 2.688 MB / 407.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.1524, allocations: 41.69 kB / 407.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.1543, allocations: 2.061 MB / 409.8 MB, free: 1.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.1548, allocations: 433.1 kB / 410.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1235/0.2783, allocations: 1.005 MB / 411.2 MB, free: 78.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2784, allocations: 0.515 MB / 411.7 MB, free: 77.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.2798, allocations: 0.5532 MB / 412.3 MB, free: 77.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.2823, allocations: 4.557 MB / 416.8 MB, free: 72.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/0.2864, allocations: 5.557 MB / 422.4 MB, free: 67.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.74e-05/0.2865, allocations: 26.78 kB / 422.4 MB, free: 67.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06343/0.3499, allocations: 13.09 MB / 435.5 MB, free: 60.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.114e-05/0.35, allocations: 46.81 kB / 435.6 MB, free: 60.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.631e-05/0.3501, allocations: 92 kB / 435.6 MB, free: 60.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/0.3538, allocations: 1.19 MB / 436.8 MB, free: 59.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.3559, allocations: 0.8641 MB / 437.7 MB, free: 58.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.3576, allocations: 1.423 MB / 439.1 MB, free: 56.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.36, allocations: 0.5904 MB / 439.7 MB, free: 56.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.3602, allocations: 250.7 kB / 440 MB, free: 56.43 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.0007787/0.361, allocations: 0.54 MB / 440.5 MB, free: 56.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/0.3613, allocations: 198.2 kB / 440.7 MB, free: 55.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.3651, allocations: 1.356 MB / 442 MB, free: 54.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006282/0.3658, allocations: 115.8 kB / 442.2 MB, free: 54.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3658, allocations: 0 / 442.2 MB, free: 54.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3658, allocations: 3.984 kB / 442.2 MB, free: 54.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007641/0.3734, allocations: 3.398 MB / 445.6 MB, free: 51.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3734, allocations: 0 / 445.6 MB, free: 51.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.3738, allocations: 87.89 kB / 445.6 MB, free: 50.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003601/0.3774, allocations: 1.073 MB / 446.7 MB, free: 49.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.723e-05/0.3775, allocations: 14.92 kB / 446.7 MB, free: 49.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.379, allocations: 1.24 MB / 448 MB, free: 48.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.379, allocations: 4.031 kB / 448 MB, free: 48.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.3816, allocations: 1.716 MB / 449.7 MB, free: 46.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007053/0.3823, allocations: 284.6 kB / 450 MB, free: 46.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.3825, allocations: 12 kB / 450 MB, free: 46.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007848/0.3833, allocations: 67.89 kB / 450 MB, free: 46.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.3834, allocations: 43.39 kB / 450.1 MB, free: 46.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.3835, allocations: 27.98 kB / 450.1 MB, free: 46.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001236/0.3847, allocations: 1.065 MB / 451.2 MB, free: 45.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 0 / 451.2 MB, free: 45.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002575/0.3873, allocations: 0.611 MB / 451.8 MB, free: 44.76 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.0003274/0.3876, allocations: 173.7 kB / 452 MB, free: 44.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003578/0.3912, allocations: 2.181 MB / 454.1 MB, free: 42.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3912, allocations: 4.25 kB / 454.1 MB, free: 42.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.3921, allocations: 473.3 kB / 454.6 MB, free: 41.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.3931, allocations: 172.9 kB / 454.8 MB, free: 41.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.3973, allocations: 3.512 MB / 458.3 MB, free: 38.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009714/0.3983, allocations: 1.139 MB / 459.4 MB, free: 37.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001892/0.4002, allocations: 1.102 MB / 460.5 MB, free: 35.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.4004, allocations: 124.5 kB / 460.7 MB, free: 35.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4004, allocations: 0 / 460.7 MB, free: 35.84 MB / 330.7 MB Notification: Performance of Templates: time 0.02593/0.4264, allocations: 19.55 MB / 480.2 MB, free: 16.54 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: 5.3369407940190285]