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.001033/0.001033, allocations: 69.89 kB / 20.65 MB, free: 3.848 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.001782/0.001782, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9391/0.9391, allocations: 177.1 MB / 204.5 MB, free: 4.836 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.02615/0.02615, allocations: 6.201 MB / 267.2 MB, free: 6.637 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.082e-06/1.082e-06, allocations: 0 / 338.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.339e-05, allocations: 2.312 kB / 338.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.003537/0.00355, allocations: 5.352 MB / 344.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.005608, allocations: 1.962 MB / 346.2 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.005857, allocations: 23.94 kB / 346.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.006426, allocations: 445.8 kB / 346.6 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007185/0.007145, allocations: 0.7464 MB / 347.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.007286, allocations: 123.5 kB / 347.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007646/0.008051, allocations: 1.599 MB / 349.1 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.008294, allocations: 381.4 kB / 349.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.008727, allocations: 0.7712 MB / 350.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006241/0.009351, allocations: 0.8143 MB / 351.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.009455, allocations: 92 kB / 351.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.009811, allocations: 323.4 kB / 351.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.0102, allocations: 0.7438 MB / 352.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.01048, allocations: 442.2 kB / 352.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.01167, allocations: 1.848 MB / 354.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01167, allocations: 4 kB / 354.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01167, allocations: 0 / 354.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.01169, allocations: 3.938 kB / 354.5 MB, free: 11.7 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.001895/0.01358, allocations: 2.302 MB / 356.8 MB, free: 9.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.01361, allocations: 8.031 kB / 356.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.01611, allocations: 0.8851 MB / 357.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/0.01679, allocations: 0.7447 MB / 358.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.01683, allocations: 86.36 kB / 358.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.01698, allocations: 107.8 kB / 358.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.01921, allocations: 2.952 MB / 361.6 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.01924, allocations: 23.75 kB / 361.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.01937, allocations: 63.89 kB / 361.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001047/0.02042, allocations: 1.006 MB / 362.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.02198, allocations: 1.343 MB / 364 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.03348, allocations: 24.39 MB / 388.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.03408, allocations: 0.5448 MB / 388.9 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.03434, allocations: 282.6 kB / 389.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.03439, allocations: 23.94 kB / 389.2 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.03442, allocations: 49.38 kB / 389.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.014e-06/0.03442, allocations: 0 / 389.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.02112/0.05554, allocations: 2.361 MB / 391.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.05559, allocations: 140.5 kB / 391.8 MB, free: 4.637 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.05736, allocations: 2.159 MB / 393.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.05743, allocations: 29.7 kB / 394 MB, free: 2.383 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008667/0.05829, allocations: 1.955 MB / 395.9 MB, free: 416 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.05856, allocations: 429 kB / 396.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006742/0.05923, allocations: 0.8882 MB / 397.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003753/0.05961, allocations: 0.5081 MB / 397.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.06003, allocations: 407.5 kB / 398.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.06205, allocations: 4.288 MB / 402.4 MB, free: 8.074 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.06529, allocations: 5.202 MB / 407.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-05/0.06532, allocations: 24 kB / 407.7 MB, free: 1.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0227/0.08802, allocations: 4.311 MB / 412 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.08807, allocations: 44 kB / 412 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/0.08813, allocations: 96 kB / 412.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.08969, allocations: 0.7689 MB / 412.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.09099, allocations: 0.8616 MB / 413.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008009/0.09179, allocations: 1.267 MB / 415 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.09333, allocations: 0.5273 MB / 415.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.09351, allocations: 216 kB / 415.7 MB, free: 8.93 MB / 346.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.0005994/0.09411, allocations: 498.9 kB / 416.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.09431, allocations: 202.8 kB / 416.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.09579, allocations: 0.9379 MB / 417.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002257/0.09602, allocations: 31.97 kB / 417.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.09602, allocations: 0 / 417.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.09603, allocations: 4 kB / 417.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.0991, allocations: 2.12 MB / 419.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.0991, allocations: 0 / 419.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.09927, allocations: 75.91 kB / 419.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.1007, allocations: 0.6513 MB / 420.2 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.1007, allocations: 31.91 kB / 420.3 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006428/0.1013, allocations: 1.081 MB / 421.4 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1013, allocations: 8.031 kB / 421.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.1025, allocations: 1.464 MB / 422.8 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.1027, allocations: 250.5 kB / 423.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.1029, allocations: 12 kB / 423.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.1032, allocations: 15.98 kB / 423.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.1032, allocations: 43.86 kB / 423.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.1033, allocations: 24 kB / 423.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005879/0.1039, allocations: 0.8346 MB / 424 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1039, allocations: 0 / 424 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.1158/0.2197, allocations: 0.5992 MB / 424.6 MB, free: 87.16 MB / 346.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.0004629/0.2201, allocations: 181 kB / 424.8 MB, free: 87.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.223, allocations: 1.816 MB / 426.6 MB, free: 87.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.223, allocations: 1.25 kB / 426.6 MB, free: 87.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.2236, allocations: 359.9 kB / 426.9 MB, free: 86.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.2244, allocations: 163.9 kB / 427.1 MB, free: 86.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.2286, allocations: 3.397 MB / 430.5 MB, free: 85.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.2292, allocations: 0.5737 MB / 431.1 MB, free: 85.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007185/0.2299, allocations: 289.6 kB / 431.4 MB, free: 85.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.2303, allocations: 327.6 kB / 431.7 MB, free: 85.37 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2303, allocations: 0 / 431.7 MB, free: 85.37 MB / 346.7 MB Notification: Performance of Templates: time 0.0219/0.2522, allocations: 21.2 MB / 452.9 MB, free: 69.16 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3619373189285398]