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.001471/0.001471, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001753/0.001753, allocations: 197.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.167/0.167, allocations: 7.99 MB / 298.1 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 360.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1075, allocations: 51.21 MB / 411.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.00981/0.1174, allocations: 9.121 MB / 420.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.123, allocations: 2.559 MB / 423 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.124, allocations: 31.94 kB / 423 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2165/0.3406, allocations: 363.3 kB / 423.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.3424, allocations: 0.6664 MB / 424 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3427, allocations: 102.3 kB / 424.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.3444, allocations: 1.617 MB / 425.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.345, allocations: 351.6 kB / 426.1 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.3457, allocations: 0.5203 MB / 426.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009132/0.3466, allocations: 0.8771 MB / 427.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.3468, allocations: 91.06 kB / 427.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.3474, allocations: 409.1 kB / 428 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.3479, allocations: 0.7296 MB / 428.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.3485, allocations: 0.9049 MB / 429.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.3503, allocations: 2.736 MB / 432.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3504, allocations: 4 kB / 432.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3504, allocations: 0 / 432.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.3504, allocations: 0 / 432.4 MB, free: 34.37 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.002624/0.353, allocations: 2.137 MB / 434.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3531, allocations: 9.312 kB / 434.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006097/0.3592, allocations: 1.741 MB / 436.3 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.3607, allocations: 0.8824 MB / 437.1 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.3607, allocations: 86.7 kB / 437.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.361, allocations: 107.2 kB / 437.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.3665, allocations: 5.112 MB / 442.4 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.3665, allocations: 23.08 kB / 442.5 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.3667, allocations: 65.83 kB / 442.5 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.3688, allocations: 1.237 MB / 443.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006543/0.3753, allocations: 4.486 MB / 448.2 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02111/0.3964, allocations: 20.67 MB / 468.9 MB, free: 28.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.3994, allocations: 1.668 MB / 470.6 MB, free: 27.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.4006, allocations: 0.7529 MB / 471.3 MB, free: 27.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.4008, allocations: 89.7 kB / 471.4 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4008, allocations: 48.44 kB / 471.5 MB, free: 27.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.787e-06/0.4008, allocations: 0.5156 kB / 471.5 MB, free: 27.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06424/0.4651, allocations: 12.57 MB / 484 MB, free: 24.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4653, allocations: 139 kB / 484.2 MB, free: 23.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004494/0.4698, allocations: 2.4 MB / 486.6 MB, free: 22.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.4701, allocations: 36.7 kB / 486.6 MB, free: 22.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.4714, allocations: 1.737 MB / 488.4 MB, free: 21.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.472, allocations: 391.2 kB / 488.7 MB, free: 20.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.4733, allocations: 0.8063 MB / 489.5 MB, free: 20.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.4735, allocations: 355.9 kB / 489.9 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.4757, allocations: 1.341 MB / 491.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.4787, allocations: 3.958 MB / 495.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006711/0.4854, allocations: 5.683 MB / 0.4891 GB, free: 7.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.275e-05/0.4855, allocations: 28 kB / 0.4892 GB, free: 7.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06289/0.5484, allocations: 14.62 MB / 0.5034 GB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.5485, allocations: 47.94 kB / 0.5035 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.5486, allocations: 92 kB / 0.5036 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004164/0.5528, allocations: 1.455 MB / 0.505 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/0.5555, allocations: 0.8694 MB / 0.5058 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.5582, allocations: 1.91 MB / 0.5077 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.5625, allocations: 0.5916 MB / 0.5083 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007567/0.5633, allocations: 254.2 kB / 0.5085 GB, free: 3.312 MB / 382.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 (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.002004/0.5653, allocations: 1.178 MB / 0.5097 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.5657, allocations: 193.4 kB / 0.5099 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/0.5701, allocations: 1.894 MB / 0.5117 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006333/0.5707, allocations: 123.8 kB / 0.5118 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.5707, allocations: 3.188 kB / 0.5118 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5708, allocations: 7.984 kB / 0.5118 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008498/0.5793, allocations: 3.853 MB / 0.5156 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5793, allocations: 0 / 0.5156 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.5797, allocations: 83.89 kB / 0.5157 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/0.5835, allocations: 1.345 MB / 0.517 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.5837, allocations: 22.09 kB / 0.517 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/0.5861, allocations: 1.731 MB / 0.5187 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5861, allocations: 0 / 0.5187 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.5897, allocations: 2.3 MB / 0.5209 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008371/0.5906, allocations: 390.2 kB / 0.5213 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.5908, allocations: 12 kB / 0.5213 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.5916, allocations: 70.48 kB / 0.5214 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5917, allocations: 35.95 kB / 0.5214 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.5918, allocations: 31.55 kB / 0.5215 GB, free: 5.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002143/0.594, allocations: 1.49 MB / 0.5229 GB, free: 4.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.594, allocations: 0 / 0.5229 GB, free: 4.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003041/0.597, allocations: 0.58 MB / 0.5235 GB, free: 3.863 MB / 398.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 (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.0004498/0.5975, allocations: 182.9 kB / 0.5237 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005229/0.6027, allocations: 3.196 MB / 0.5268 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6028, allocations: 4 kB / 0.5268 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.6041, allocations: 0.7577 MB / 0.5275 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.6055, allocations: 185.8 kB / 0.5277 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.6133, allocations: 5.302 MB / 0.5329 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.615, allocations: 1.852 MB / 0.5347 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002926/0.618, allocations: 1.278 MB / 0.5359 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.6183, allocations: 139.4 kB / 0.5361 GB, free: 6.93 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6183, allocations: 0 / 0.5361 GB, free: 6.93 MB / 414.1 MB Notification: Performance of Templates: time 0.03594/0.6542, allocations: 22.55 MB / 0.5581 GB, free: 468 kB / 430.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)