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.001813/0.001813, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001993/0.001993, allocations: 194.8 kB / 16.14 MB, free: 6.695 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1582/0.1582, allocations: 7.992 MB / 297.9 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 359.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08933, allocations: 51.2 MB / 411.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.009948/0.09931, allocations: 9.136 MB / 420.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.1042, allocations: 2.582 MB / 422.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000923/0.1052, allocations: 31.94 kB / 422.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1671/0.2723, allocations: 365.1 kB / 423.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2749, allocations: 0.6808 MB / 423.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.2754, allocations: 99.86 kB / 424 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.2783, allocations: 2.214 MB / 426.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007386/0.2791, allocations: 320.4 kB / 426.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.28, allocations: 453.8 kB / 427 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.2813, allocations: 0.8465 MB / 427.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.2817, allocations: 60.19 kB / 427.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.2829, allocations: 375.7 kB / 428.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008162/0.2837, allocations: 0.7003 MB / 428.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.2848, allocations: 0.8708 MB / 429.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.2879, allocations: 2.69 MB / 432.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2879, allocations: 0.5938 kB / 432.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2879, allocations: 0 / 432.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.288, allocations: 1.469 kB / 432.5 MB, free: 34.28 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.004847/0.2929, allocations: 2.15 MB / 434.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2929, allocations: 6.5 kB / 434.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009438/0.3024, allocations: 1.741 MB / 436.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.3044, allocations: 0.8821 MB / 437.3 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.3046, allocations: 82.12 kB / 437.4 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.305, allocations: 106.7 kB / 437.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/0.3138, allocations: 5.114 MB / 442.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.891e-05/0.3139, allocations: 22.06 kB / 442.6 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.3144, allocations: 55.05 kB / 442.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003353/0.3177, allocations: 1.249 MB / 443.9 MB, free: 30.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/0.328, allocations: 4.487 MB / 448.4 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/0.354, allocations: 20.66 MB / 469.1 MB, free: 28.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.3572, allocations: 1.67 MB / 470.7 MB, free: 27.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.3591, allocations: 0.7493 MB / 471.5 MB, free: 27.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.3593, allocations: 86.72 kB / 471.6 MB, free: 27.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3593, allocations: 48.09 kB / 471.6 MB, free: 27.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.949e-06/0.3594, allocations: 3.938 kB / 471.6 MB, free: 27.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06479/0.4242, allocations: 12.57 MB / 484.2 MB, free: 23.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.772e-05/0.4243, allocations: 139.3 kB / 484.3 MB, free: 23.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.4286, allocations: 2.407 MB / 486.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.4288, allocations: 31.73 kB / 486.8 MB, free: 22.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.4299, allocations: 1.737 MB / 488.5 MB, free: 20.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005538/0.4305, allocations: 392.5 kB / 488.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.4318, allocations: 0.8017 MB / 489.7 MB, free: 20.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.432, allocations: 354.7 kB / 490 MB, free: 19.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.4342, allocations: 1.346 MB / 491.4 MB, free: 19.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/0.4372, allocations: 3.956 MB / 495.3 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006688/0.4439, allocations: 5.69 MB / 0.4893 GB, free: 7.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-05/0.444, allocations: 28 kB / 0.4893 GB, free: 6.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06544/0.5094, allocations: 14.61 MB / 0.5036 GB, free: 8.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.5096, allocations: 47.94 kB / 0.5036 GB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/0.5097, allocations: 95.75 kB / 0.5037 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004412/0.5141, allocations: 1.456 MB / 0.5051 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.517, allocations: 0.8732 MB / 0.506 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.5198, allocations: 1.909 MB / 0.5079 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/0.5229, allocations: 0.5878 MB / 0.5084 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005733/0.5235, allocations: 247.5 kB / 0.5087 GB, free: 3.129 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.002032/0.5256, allocations: 1.175 MB / 0.5098 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/0.526, allocations: 193.4 kB / 0.51 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/0.5309, allocations: 1.883 MB / 0.5118 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006517/0.5315, allocations: 131.8 kB / 0.512 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.5316, allocations: 0 / 0.512 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.5316, allocations: 11.92 kB / 0.512 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009509/0.5411, allocations: 3.856 MB / 0.5157 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.5411, allocations: 0 / 0.5157 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.5416, allocations: 79.89 kB / 0.5158 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00414/0.5457, allocations: 1.344 MB / 0.5171 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.5459, allocations: 19.98 kB / 0.5171 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.5484, allocations: 1.734 MB / 0.5188 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5485, allocations: 4.062 kB / 0.5188 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.5524, allocations: 2.299 MB / 0.5211 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009524/0.5534, allocations: 390.2 kB / 0.5215 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/0.5539, allocations: 19.03 kB / 0.5215 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/0.5549, allocations: 67.84 kB / 0.5215 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.555, allocations: 39.89 kB / 0.5216 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.761e-05/0.5551, allocations: 27.98 kB / 0.5216 GB, free: 5.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002638/0.5578, allocations: 1.482 MB / 0.5231 GB, free: 4.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5578, allocations: 0 / 0.5231 GB, free: 4.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003266/0.5611, allocations: 0.5874 MB / 0.5236 GB, free: 3.676 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.0005166/0.5616, allocations: 177.2 kB / 0.5238 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005475/0.5671, allocations: 3.048 MB / 0.5268 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5671, allocations: 0 / 0.5268 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.5686, allocations: 0.7601 MB / 0.5275 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.5704, allocations: 185.2 kB / 0.5277 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009535/0.5799, allocations: 5.297 MB / 0.5329 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002473/0.5824, allocations: 1.852 MB / 0.5347 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003248/0.5857, allocations: 1.268 MB / 0.5359 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.5862, allocations: 139.4 kB / 0.536 GB, free: 6.91 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5862, allocations: 0 / 0.536 GB, free: 6.91 MB / 414.1 MB Notification: Performance of Templates: time 0.03775/0.624, allocations: 21.7 MB / 0.5572 GB, free: 1.277 MB / 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)