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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009114/0.0009113, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000934/0.000934, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2395/0.2395, allocations: 7.977 MB / 299 MB, free: 3.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004187, allocations: 8 kB / 361.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1479, allocations: 52.21 MB / 413.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.008981/0.1569, allocations: 7.736 MB / 421.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.1629, allocations: 2.459 MB / 424.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1641, allocations: 27.94 kB / 424.1 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2969/0.461, allocations: 339.1 kB / 424.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.4655, allocations: 1.186 MB / 425.6 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.4659, allocations: 108 kB / 425.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.4672, allocations: 0.9324 MB / 426.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.4676, allocations: 383.3 kB / 427 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.4681, allocations: 441.3 kB / 427.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.4687, allocations: 0.6199 MB / 428.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.4689, allocations: 63.69 kB / 428.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005857/0.4695, allocations: 342.8 kB / 428.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.4699, allocations: 0.6342 MB / 429.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.4702, allocations: 384.4 kB / 429.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001684/0.4719, allocations: 2.11 MB / 431.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4719, allocations: 0 / 431.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4719, allocations: 3.312 kB / 431.6 MB, free: 33.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.472, allocations: 0 / 431.6 MB, free: 33.7 MB / 350.1 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.002556/0.4745, allocations: 1.806 MB / 433.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/0.4746, allocations: 15.7 kB / 433.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/0.4815, allocations: 2.057 MB / 435.5 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.4839, allocations: 0.8767 MB / 436.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.484, allocations: 80.2 kB / 436.4 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.4843, allocations: 104.6 kB / 436.5 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00828/0.4926, allocations: 5.103 MB / 441.6 MB, free: 30.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/0.4927, allocations: 19.44 kB / 441.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.4929, allocations: 65.77 kB / 441.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/0.4953, allocations: 1.239 MB / 443 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/0.5025, allocations: 4.472 MB / 447.4 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02112/0.5236, allocations: 20.67 MB / 468.1 MB, free: 31.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.5264, allocations: 1.667 MB / 469.8 MB, free: 30.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.5266, allocations: 95.09 kB / 469.8 MB, free: 30.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.5267, allocations: 43.3 kB / 469.9 MB, free: 30.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 7.514e-06/0.5267, allocations: 4 kB / 469.9 MB, free: 30.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06534/0.592, allocations: 12.9 MB / 482.8 MB, free: 26.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5922, allocations: 143.8 kB / 482.9 MB, free: 26.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.5984, allocations: 2.396 MB / 485.3 MB, free: 25.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002913/0.5987, allocations: 35.17 kB / 485.4 MB, free: 25.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.6, allocations: 1.735 MB / 487.1 MB, free: 23.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.6004, allocations: 390.6 kB / 487.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.6006, allocations: 78.94 kB / 487.6 MB, free: 23.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004674/0.6011, allocations: 0.5251 MB / 488.1 MB, free: 22.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.6035, allocations: 1.332 MB / 489.4 MB, free: 22.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.607, allocations: 3.918 MB / 493.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.6101, allocations: 2.222 MB / 495.6 MB, free: 16.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-05/0.6101, allocations: 24 kB / 495.6 MB, free: 16.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.008542/0.6187, allocations: 5.343 MB / 0.4892 GB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.6188, allocations: 46.34 kB / 0.4892 GB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-05/0.6189, allocations: 96 kB / 0.4893 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/0.6232, allocations: 1.478 MB / 0.4908 GB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/0.6258, allocations: 0.8694 MB / 0.4916 GB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/0.6286, allocations: 1.908 MB / 0.4935 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/0.6323, allocations: 0.5897 MB / 0.4941 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/0.6328, allocations: 252 kB / 0.4943 GB, free: 5.836 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.002158/0.635, allocations: 1.16 MB / 0.4954 GB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006612/0.6357, allocations: 193.5 kB / 0.4956 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/0.6405, allocations: 1.901 MB / 0.4975 GB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006381/0.6412, allocations: 119.8 kB / 0.4976 GB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6412, allocations: 3.984 kB / 0.4976 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.6412, allocations: 4 kB / 0.4976 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6519, allocations: 3.852 MB / 0.5014 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.652, allocations: 4 kB / 0.5014 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.6524, allocations: 81.75 kB / 0.5014 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004152/0.6565, allocations: 1.353 MB / 0.5028 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.6567, allocations: 17.16 kB / 0.5028 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.6593, allocations: 1.738 MB / 0.5045 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.6593, allocations: 0.875 kB / 0.5045 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/0.6635, allocations: 2.35 MB / 0.5068 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.6647, allocations: 394.2 kB / 0.5071 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006392/0.6654, allocations: 12 kB / 0.5072 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.6666, allocations: 69.31 kB / 0.5072 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.6667, allocations: 47.81 kB / 0.5073 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.6668, allocations: 25.41 kB / 0.5073 GB, free: 8.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003395/0.6702, allocations: 1.474 MB / 0.5087 GB, free: 6.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6702, allocations: 0 / 0.5087 GB, free: 6.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00584/0.6761, allocations: 0.5897 MB / 0.5093 GB, free: 6.316 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009145/0.677, allocations: 171.5 kB / 0.5095 GB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007094/0.6841, allocations: 3.034 MB / 0.5124 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6841, allocations: 0 / 0.5124 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.6857, allocations: 0.7573 MB / 0.5132 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.6872, allocations: 170.3 kB / 0.5133 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.698, allocations: 5.097 MB / 0.5183 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/0.7007, allocations: 1.899 MB / 0.5202 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00338/0.7041, allocations: 1.27 MB / 0.5214 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.7046, allocations: 135.4 kB / 0.5215 GB, free: 9.742 MB / 398.1 MB Notification: Performance of SimCode: time 2.023e-06/0.7047, allocations: 0 / 0.5215 GB, free: 9.742 MB / 398.1 MB Notification: Performance of Templates: time 0.04737/0.752, allocations: 21.16 MB / 0.5422 GB, free: 4.66 MB / 414.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.makefile (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=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)