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.001304/0.001304, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001716/0.001716, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.03081/0.03081, allocations: 6.195 MB / 266.5 MB, free: 7.16 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.182e-06/1.182e-06, allocations: 0 / 337.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.63e-05, allocations: 8.703 kB / 337.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004279/0.004306, allocations: 5.447 MB / 343.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.007227, allocations: 1.978 MB / 345.1 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.007562, allocations: 23.94 kB / 345.1 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.008563, allocations: 445.8 kB / 345.5 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.009746, allocations: 0.7425 MB / 346.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.009948, allocations: 115.6 kB / 346.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.01127, allocations: 1.599 MB / 348 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.01167, allocations: 385.4 kB / 348.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.01233, allocations: 0.7635 MB / 349.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.01316, allocations: 0.8104 MB / 349.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.01331, allocations: 92 kB / 350 MB, free: 15.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.01382, allocations: 327.4 kB / 350.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.01442, allocations: 0.7477 MB / 351.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.01488, allocations: 442.2 kB / 351.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.01683, allocations: 1.844 MB / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01683, allocations: 0 / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01684, allocations: 0 / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.01685, allocations: 0 / 353.4 MB, free: 12.25 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.002823/0.01968, allocations: 2.333 MB / 355.7 MB, free: 9.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.01971, allocations: 12.03 kB / 355.7 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/0.02568, allocations: 2.016 MB / 357.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.0269, allocations: 0.7968 MB / 358.5 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.17e-05/0.02698, allocations: 78.38 kB / 358.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.0272, allocations: 107.8 kB / 358.7 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.03126, allocations: 3.187 MB / 361.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.0313, allocations: 19.81 kB / 361.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.0315, allocations: 59.91 kB / 362 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00233/0.03383, allocations: 1.228 MB / 363.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.0366, allocations: 1.623 MB / 364.8 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.04957, allocations: 25.16 MB / 390 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.05046, allocations: 0.6151 MB / 390.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.05084, allocations: 338.4 kB / 390.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.05093, allocations: 12 kB / 390.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.05095, allocations: 45.33 kB / 391 MB, free: 4.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.645e-06/0.05096, allocations: 112 / 391 MB, free: 4.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.03064/0.08159, allocations: 11.2 MB / 402.2 MB, free: 9.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.08165, allocations: 140.5 kB / 402.3 MB, free: 9.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.08372, allocations: 2.16 MB / 404.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.08379, allocations: 37.69 kB / 404.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/0.0847, allocations: 1.936 MB / 406.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.08497, allocations: 425 kB / 406.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006788/0.08565, allocations: 0.8768 MB / 407.8 MB, free: 3.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.08577, allocations: 0.5004 MB / 408.3 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.08645, allocations: 0.4918 MB / 408.7 MB, free: 2.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1222/0.2087, allocations: 4.371 MB / 413.1 MB, free: 66.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.2121, allocations: 5.305 MB / 418.4 MB, free: 61.22 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/0.2122, allocations: 25.47 kB / 418.5 MB, free: 61.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.03166/0.2438, allocations: 12.95 MB / 431.4 MB, free: 57.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.2439, allocations: 48 kB / 431.4 MB, free: 57.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/0.2439, allocations: 92 kB / 431.5 MB, free: 57.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.2458, allocations: 1.124 MB / 432.7 MB, free: 56.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.2471, allocations: 0.8665 MB / 433.5 MB, free: 55.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008124/0.2479, allocations: 1.338 MB / 434.9 MB, free: 54.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.2493, allocations: 0.5793 MB / 435.4 MB, free: 54.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.2494, allocations: 252.1 kB / 435.7 MB, free: 53.86 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.0004952/0.2499, allocations: 491.9 kB / 436.2 MB, free: 53.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.2501, allocations: 206.3 kB / 436.4 MB, free: 53.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.2519, allocations: 1.271 MB / 437.6 MB, free: 52.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002957/0.2522, allocations: 111.8 kB / 437.7 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2522, allocations: 2.938 kB / 437.8 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2522, allocations: 7.922 kB / 437.8 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.2558, allocations: 2.897 MB / 440.7 MB, free: 49.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2558, allocations: 4 kB / 440.7 MB, free: 49.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.256, allocations: 91.25 kB / 440.7 MB, free: 49.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.2576, allocations: 1.005 MB / 441.8 MB, free: 48.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.2577, allocations: 17.59 kB / 441.8 MB, free: 48.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006471/0.2583, allocations: 1.152 MB / 442.9 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2583, allocations: 3.938 kB / 442.9 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.2596, allocations: 1.592 MB / 444.5 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.2599, allocations: 278.7 kB / 444.8 MB, free: 45.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.26, allocations: 15.59 kB / 444.8 MB, free: 45.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.2604, allocations: 67.45 kB / 444.9 MB, free: 45.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.2605, allocations: 39.69 kB / 444.9 MB, free: 45.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2605, allocations: 27.92 kB / 444.9 MB, free: 45.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006928/0.2612, allocations: 0.8888 MB / 445.8 MB, free: 45.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2612, allocations: 4 kB / 445.8 MB, free: 45.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001552/0.2627, allocations: 0.5997 MB / 446.4 MB, free: 44.56 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.0002863/0.263, allocations: 183.2 kB / 446.6 MB, free: 44.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.265, allocations: 1.969 MB / 448.6 MB, free: 42.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.265, allocations: 0 / 448.6 MB, free: 42.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.2655, allocations: 410.9 kB / 449 MB, free: 42.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.2661, allocations: 174 kB / 449.1 MB, free: 41.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2693, allocations: 3.444 MB / 452.6 MB, free: 38.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.2699, allocations: 0.5761 MB / 453.2 MB, free: 37.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001478/0.2714, allocations: 1.098 MB / 454.3 MB, free: 36.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.2716, allocations: 124.5 kB / 454.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.813e-06/0.2716, allocations: 3.719 kB / 454.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of Templates: time 0.02351/0.2951, allocations: 19.56 MB / 474 MB, free: 17.26 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.5602465360425413]