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.0009439/0.0009439, allocations: 80.88 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.0009819/0.0009819, 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.9642/0.9642, 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.02738/0.02738, allocations: 6.212 MB / 266.5 MB, free: 6.961 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.613e-06/1.613e-06, allocations: 0 / 284.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.69e-05, allocations: 5.266 kB / 284.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.1164/0.1164, allocations: 5.4 MB / 290.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.1198, allocations: 2.031 MB / 292.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/0.1202, allocations: 22.09 kB / 292.3 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008296/0.121, allocations: 438.9 kB / 292.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1222, allocations: 0.7596 MB / 293.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1224, allocations: 119.7 kB / 293.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001535/0.124, allocations: 1.602 MB / 295.2 MB, free: 17.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.1245, allocations: 403.2 kB / 295.6 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.1254, allocations: 0.7611 MB / 296.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009574/0.1264, allocations: 0.7746 MB / 297.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.1266, allocations: 97.19 kB / 297.2 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.1271, allocations: 329.8 kB / 297.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.1276, allocations: 0.7397 MB / 298.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.128, allocations: 441.8 kB / 298.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.1295, allocations: 1.859 MB / 300.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1296, allocations: 0 / 300.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1296, allocations: 0.9062 kB / 300.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.942e-05/0.1296, allocations: 1.406 kB / 300.6 MB, free: 15.91 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.001878/0.1315, allocations: 1.934 MB / 302.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1315, allocations: 9.625 kB / 302.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.1339, allocations: 0.6862 MB / 303.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.1346, allocations: 0.6658 MB / 303.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.1347, allocations: 86.31 kB / 304 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.1348, allocations: 102.5 kB / 304.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.1368, allocations: 2.582 MB / 306.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1368, allocations: 26.53 kB / 306.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.1369, allocations: 55.91 kB / 306.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008978/0.1378, allocations: 1.008 MB / 307.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1394, allocations: 1.351 MB / 309.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008345/0.1477, allocations: 17.07 MB / 326.2 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.1483, allocations: 0.5513 MB / 326.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.1485, allocations: 249.8 kB / 327 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.1486, allocations: 12 kB / 327 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1486, allocations: 42.56 kB / 327 MB, free: 6.441 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 2.425e-06/0.1486, allocations: 0 / 327 MB, free: 6.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=96): time 0.01957/0.1682, allocations: 2.106 MB / 329.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1683, allocations: 136.5 kB / 329.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.1696, allocations: 1.692 MB / 330.9 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.1696, allocations: 33.7 kB / 331 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.1703, allocations: 1.762 MB / 332.7 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.1705, allocations: 397 kB / 333.1 MB, free: 216 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005959/0.1711, allocations: 0.755 MB / 333.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.1712, allocations: 333.9 kB / 334.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.1718, allocations: 0.4897 MB / 334.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.1733, allocations: 2.988 MB / 337.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.1761, allocations: 3.945 MB / 341.6 MB, free: 5.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/0.1761, allocations: 24 kB / 341.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01979/0.1959, allocations: 3.802 MB / 345.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.1959, allocations: 52.25 kB / 345.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/0.196, allocations: 92 kB / 345.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.1975, allocations: 0.7518 MB / 346.4 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.199, allocations: 0.889 MB / 347.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007626/0.1997, allocations: 0.9594 MB / 348.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.2012, allocations: 0.5273 MB / 348.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.2014, allocations: 224 kB / 348.9 MB, free: 13.69 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.0006354/0.202, allocations: 448 kB / 349.4 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.2022, allocations: 103.9 kB / 349.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.2036, allocations: 0.8566 MB / 350.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002065/0.2038, allocations: 31.98 kB / 350.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2038, allocations: 0 / 350.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.2038, allocations: 5.391 kB / 350.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.2066, allocations: 1.876 MB / 352.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2066, allocations: 0 / 352.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.2068, allocations: 79.84 kB / 352.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.2083, allocations: 0.7467 MB / 353.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.2084, allocations: 11.98 kB / 353.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006151/0.209, allocations: 0.7726 MB / 353.9 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.209, allocations: 5.75 kB / 353.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.21, allocations: 1.192 MB / 355.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.2103, allocations: 242.5 kB / 355.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2104, allocations: 15.98 kB / 355.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.2107, allocations: 11.98 kB / 355.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.2108, allocations: 39.86 kB / 355.4 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.2108, allocations: 20 kB / 355.4 MB, free: 7.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000563/0.2114, allocations: 0.6262 MB / 356 MB, free: 6.477 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2114, allocations: 0 / 356 MB, free: 6.477 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001889/0.2133, allocations: 0.6043 MB / 356.6 MB, free: 5.871 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.0002912/0.2136, allocations: 164 kB / 356.8 MB, free: 5.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.2154, allocations: 1.699 MB / 358.5 MB, free: 4.008 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-05/0.2155, allocations: 53.75 kB / 358.5 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.2159, allocations: 304.5 kB / 358.8 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.2166, allocations: 266.2 kB / 359.1 MB, free: 3.398 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.2205, allocations: 3.37 MB / 362.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.2209, allocations: 0.5647 MB / 363 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006044/0.2215, allocations: 283.8 kB / 363.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.2219, allocations: 299.3 kB / 363.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2219, allocations: 0 / 363.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of Templates: time 0.02562/0.2475, allocations: 20.73 MB / 384.3 MB, free: 10.23 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8195587689988315]