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.001052/0.001052, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001546/0.001546, allocations: 172.7 kB / 15.95 MB, free: 208 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.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2475/0.2475, allocations: 7.993 MB / 299.1 MB, free: 3.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 8 kB / 361.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 52.21 MB / 414 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.009173/0.1635, allocations: 8.109 MB / 422.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.311/0.4746, allocations: 2.397 MB / 424.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.4769, allocations: 30.88 kB / 424.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.4784, allocations: 383.6 kB / 424.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.4824, allocations: 1.138 MB / 426 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.4829, allocations: 100.1 kB / 426.1 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.4846, allocations: 1.73 MB / 427.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/0.4851, allocations: 379.6 kB / 428.2 MB, free: 33.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.4856, allocations: 0.5057 MB / 428.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/0.4866, allocations: 0.8279 MB / 429.6 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.4867, allocations: 58.69 kB / 429.6 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007652/0.4875, allocations: 343.6 kB / 430 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.4881, allocations: 0.6824 MB / 430.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003644/0.4885, allocations: 382.6 kB / 431 MB, free: 33.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.4906, allocations: 2.114 MB / 433.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4906, allocations: 0 / 433.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4907, allocations: 0 / 433.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.4907, allocations: 2.156 kB / 433.1 MB, free: 33.32 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.00263/0.4933, allocations: 1.807 MB / 434.9 MB, free: 32.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4934, allocations: 15.55 kB / 435 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/0.4991, allocations: 1.779 MB / 436.7 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.5008, allocations: 0.8723 MB / 437.6 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.5009, allocations: 83.12 kB / 437.7 MB, free: 31.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.5011, allocations: 105.3 kB / 437.8 MB, free: 31.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007979/0.5091, allocations: 5.106 MB / 442.9 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.782e-05/0.5093, allocations: 27.78 kB / 442.9 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.5095, allocations: 62.17 kB / 443 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.5122, allocations: 1.24 MB / 444.2 MB, free: 30.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008465/0.5207, allocations: 4.464 MB / 448.7 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.5422, allocations: 20.67 MB / 469.4 MB, free: 30.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.5447, allocations: 1.664 MB / 471 MB, free: 29.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.546, allocations: 0.754 MB / 471.8 MB, free: 29.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.5461, allocations: 91.66 kB / 471.9 MB, free: 29.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5462, allocations: 40.39 kB / 471.9 MB, free: 29.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.248e-06/0.5462, allocations: 1.094 kB / 471.9 MB, free: 29.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.05878/0.605, allocations: 12.57 MB / 484.5 MB, free: 25.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.6051, allocations: 136.1 kB / 484.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.6101, allocations: 2.398 MB / 487 MB, free: 23.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.6104, allocations: 39.88 kB / 487 MB, free: 23.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.6115, allocations: 1.732 MB / 488.8 MB, free: 22.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.612, allocations: 391.1 kB / 489.2 MB, free: 22.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.6122, allocations: 77.47 kB / 489.2 MB, free: 21.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003497/0.6125, allocations: 0.5287 MB / 489.8 MB, free: 21.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.6146, allocations: 1.326 MB / 491.1 MB, free: 20.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/0.6182, allocations: 3.942 MB / 495 MB, free: 16.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.6209, allocations: 2.219 MB / 497.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.879e-05/0.621, allocations: 24 kB / 497.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.009382/0.6303, allocations: 5.339 MB / 0.4908 GB, free: 9.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.6304, allocations: 44 kB / 0.4909 GB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.61e-05/0.6305, allocations: 96 kB / 0.491 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004244/0.6348, allocations: 1.476 MB / 0.4924 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.6374, allocations: 0.8733 MB / 0.4933 GB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.6404, allocations: 1.903 MB / 0.4951 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/0.6447, allocations: 0.596 MB / 0.4957 GB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000674/0.6454, allocations: 249.4 kB / 0.4959 GB, free: 3.754 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.002681/0.6481, allocations: 1.166 MB / 0.4971 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007115/0.6488, allocations: 197.5 kB / 0.4973 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00515/0.654, allocations: 1.886 MB / 0.4991 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005909/0.6546, allocations: 135.7 kB / 0.4992 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/0.6546, allocations: 4 kB / 0.4992 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.6546, allocations: 9.531 kB / 0.4993 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.6649, allocations: 3.842 MB / 0.503 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.665, allocations: 4 kB / 0.503 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.6654, allocations: 79.89 kB / 0.5031 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/0.6693, allocations: 1.36 MB / 0.5044 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.621e-05/0.6694, allocations: 21.12 kB / 0.5044 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.6719, allocations: 1.727 MB / 0.5061 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6719, allocations: 0 / 0.5061 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.676, allocations: 2.303 MB / 0.5084 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6771, allocations: 394.2 kB / 0.5087 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.6773, allocations: 17.48 kB / 0.5088 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.6781, allocations: 67.89 kB / 0.5088 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.6782, allocations: 39.91 kB / 0.5089 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.6783, allocations: 30.72 kB / 0.5089 GB, free: 6.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002694/0.681, allocations: 1.478 MB / 0.5103 GB, free: 4.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.681, allocations: 0 / 0.5103 GB, free: 4.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00364/0.6846, allocations: 0.5839 MB / 0.5109 GB, free: 4.309 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.0004141/0.685, allocations: 164.2 kB / 0.5111 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005568/0.6906, allocations: 3.043 MB / 0.514 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6906, allocations: 0.875 kB / 0.514 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.692, allocations: 0.7537 MB / 0.5148 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.6932, allocations: 184.4 kB / 0.5149 GB, free: 200 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/0.7018, allocations: 5.113 MB / 0.5199 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.7038, allocations: 1.855 MB / 0.5218 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002961/0.7067, allocations: 1.269 MB / 0.523 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.707, allocations: 135.4 kB / 0.5231 GB, free: 7.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.183e-06/0.7071, allocations: 4 kB / 0.5231 GB, free: 7.746 MB / 398.1 MB Notification: Performance of Templates: time 0.04002/0.7471, allocations: 21.16 MB / 0.5438 GB, free: 2.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)