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.0009583/0.0009583, allocations: 89.06 kB / 19.65 MB, free: 276 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.0009954/0.0009954, allocations: 177.3 kB / 23.03 MB, free: 1.539 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.8565/0.8565, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.02559/0.02559, allocations: 6.206 MB / 266.2 MB, free: 7.078 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.363e-06/1.363e-06, allocations: 0 / 337.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.502e-05, allocations: 4.703 kB / 337.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.003904/0.003929, allocations: 5.482 MB / 343.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.006381, allocations: 1.978 MB / 345.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.006723, allocations: 19.94 kB / 345.1 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.007458, allocations: 445.8 kB / 345.5 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009629/0.008421, allocations: 0.7503 MB / 346.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.008698, allocations: 123.6 kB / 346.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.00987, allocations: 1.591 MB / 348 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.0102, allocations: 385.4 kB / 348.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.01071, allocations: 0.7635 MB / 349.1 MB, free: 140 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/0.01139, allocations: 0.8105 MB / 350 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.01151, allocations: 92 kB / 350 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.01194, allocations: 331.3 kB / 350.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.01233, allocations: 0.7438 MB / 351.1 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.01263, allocations: 434.2 kB / 351.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.01401, allocations: 1.851 MB / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01402, allocations: 0 / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01402, allocations: 0 / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.01403, allocations: 0 / 353.4 MB, free: 11.88 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.001952/0.01599, allocations: 2.337 MB / 355.7 MB, free: 9.484 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.01602, allocations: 8.031 kB / 355.7 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.01968, allocations: 2.016 MB / 357.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.02048, allocations: 0.8385 MB / 358.6 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.02053, allocations: 82.38 kB / 358.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.02067, allocations: 103.8 kB / 358.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.02332, allocations: 3.179 MB / 361.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.02335, allocations: 19.81 kB / 362 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.02347, allocations: 55.91 kB / 362 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/0.02475, allocations: 1.228 MB / 363.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.02695, allocations: 1.631 MB / 364.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.0386, allocations: 25.17 MB / 390 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.0394, allocations: 0.6073 MB / 390.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.03975, allocations: 337.2 kB / 391 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.03983, allocations: 19.98 kB / 391 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.03986, allocations: 45.33 kB / 391 MB, free: 4.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.334e-06/0.03986, allocations: 0 / 391 MB, free: 4.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.02955/0.06941, allocations: 11.19 MB / 402.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.06949, allocations: 144.5 kB / 402.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.07175, allocations: 2.172 MB / 404.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.07182, allocations: 29.7 kB / 404.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.07283, allocations: 1.94 MB / 406.5 MB, free: 4.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.07311, allocations: 421 kB / 406.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006896/0.0738, allocations: 0.8768 MB / 407.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.07391, allocations: 0.5004 MB / 408.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006478/0.07456, allocations: 0.4918 MB / 408.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1147/0.1893, allocations: 4.366 MB / 413.2 MB, free: 70.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.1924, allocations: 5.311 MB / 418.5 MB, free: 65.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.518e-05/0.1924, allocations: 30.88 kB / 418.5 MB, free: 65.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.03007/0.2225, allocations: 12.94 MB / 431.5 MB, free: 60.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.2225, allocations: 44 kB / 431.5 MB, free: 60.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-05/0.2226, allocations: 96 kB / 431.6 MB, free: 60.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.2244, allocations: 1.116 MB / 432.7 MB, free: 59.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2256, allocations: 0.8719 MB / 433.6 MB, free: 58.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007565/0.2263, allocations: 1.337 MB / 434.9 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.2277, allocations: 0.5796 MB / 435.5 MB, free: 57.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.2279, allocations: 254.1 kB / 435.7 MB, free: 56.88 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.0004898/0.2284, allocations: 494.4 kB / 436.2 MB, free: 56.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.2285, allocations: 210.5 kB / 436.4 MB, free: 56.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2302, allocations: 1.264 MB / 437.7 MB, free: 55.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002829/0.2305, allocations: 107.8 kB / 437.8 MB, free: 55.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2305, allocations: 6.938 kB / 437.8 MB, free: 55.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2305, allocations: 3.984 kB / 437.8 MB, free: 55.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.234, allocations: 2.9 MB / 440.7 MB, free: 52.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.234, allocations: 0 / 440.7 MB, free: 52.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2342, allocations: 87.64 kB / 440.8 MB, free: 52.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.2358, allocations: 1.01 MB / 441.8 MB, free: 51.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.2359, allocations: 19.67 kB / 441.8 MB, free: 51.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006078/0.2365, allocations: 1.151 MB / 443 MB, free: 50.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2365, allocations: 4 kB / 443 MB, free: 50.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.2377, allocations: 1.591 MB / 444.6 MB, free: 49.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002545/0.2379, allocations: 280.3 kB / 444.8 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-05/0.238, allocations: 12 kB / 444.9 MB, free: 48.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2384, allocations: 71.33 kB / 444.9 MB, free: 48.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.2384, allocations: 47.8 kB / 445 MB, free: 48.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.2385, allocations: 27.47 kB / 445 MB, free: 48.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006317/0.2391, allocations: 0.8896 MB / 445.9 MB, free: 47.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2391, allocations: 0 / 445.9 MB, free: 47.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0014/0.2405, allocations: 0.6059 MB / 446.5 MB, free: 47.27 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.0002629/0.2408, allocations: 172.4 kB / 446.7 MB, free: 47.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.2426, allocations: 1.969 MB / 448.6 MB, free: 45.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2426, allocations: 0 / 448.6 MB, free: 45.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.243, allocations: 415.9 kB / 449 MB, free: 44.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.2436, allocations: 176.2 kB / 449.2 MB, free: 44.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.2467, allocations: 3.438 MB / 452.7 MB, free: 41.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.247, allocations: 0.5761 MB / 453.2 MB, free: 40.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00116/0.2481, allocations: 1.097 MB / 454.3 MB, free: 39.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.2483, allocations: 132.5 kB / 454.5 MB, free: 39.27 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2483, allocations: 0 / 454.5 MB, free: 39.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02089/0.2692, allocations: 20.35 MB / 474.8 MB, free: 19.18 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.0053755757398903]