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.001597/0.001606, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002447/0.002447, allocations: 199 kB / 16.79 MB, free: 6.809 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.592/1.592, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2893/0.2893, allocations: 7.987 MB / 298.6 MB, free: 2.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 360.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.167, allocations: 51.2 MB / 411.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.01358/0.1806, allocations: 9.125 MB / 420.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007721/0.1884, allocations: 2.586 MB / 423.5 MB, free: 160 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1909, allocations: 35.88 kB / 423.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3605/0.5514, allocations: 364.6 kB / 423.9 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.5543, allocations: 0.6808 MB / 424.6 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.5548, allocations: 98.97 kB / 424.7 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.5576, allocations: 2.211 MB / 426.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.5582, allocations: 326.5 kB / 427.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.559, allocations: 454.1 kB / 427.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.5601, allocations: 0.8377 MB / 428.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.5603, allocations: 62.75 kB / 428.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008886/0.5612, allocations: 382.9 kB / 428.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006248/0.5618, allocations: 0.6991 MB / 429.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008205/0.5626, allocations: 0.8753 MB / 430.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.5647, allocations: 2.158 MB / 432.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5647, allocations: 0 / 432.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5647, allocations: 0 / 432.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.46e-05/0.5647, allocations: 0 / 432.6 MB, free: 34.64 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.003693/0.5684, allocations: 2.144 MB / 434.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5685, allocations: 9.625 kB / 434.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/0.5749, allocations: 1.745 MB / 436.5 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5766, allocations: 0.8844 MB / 437.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.031e-05/0.5767, allocations: 80.25 kB / 437.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.5769, allocations: 111.5 kB / 437.6 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/0.586, allocations: 5.111 MB / 442.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.5862, allocations: 23.28 kB / 442.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.5866, allocations: 58.92 kB / 442.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00275/0.5894, allocations: 1.239 MB / 444 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008459/0.5979, allocations: 4.497 MB / 448.5 MB, free: 29.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/0.6233, allocations: 20.65 MB / 469.2 MB, free: 29.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.6263, allocations: 1.667 MB / 470.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.6278, allocations: 0.7493 MB / 471.6 MB, free: 27.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.628, allocations: 102.2 kB / 471.7 MB, free: 27.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.628, allocations: 41.47 kB / 471.7 MB, free: 27.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.398e-06/0.628, allocations: 0 / 471.7 MB, free: 27.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06938/0.6974, allocations: 12.57 MB / 484.3 MB, free: 24.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.6976, allocations: 138.8 kB / 484.5 MB, free: 24.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005032/0.7027, allocations: 2.406 MB / 486.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.703, allocations: 34.45 kB / 486.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.7042, allocations: 1.737 MB / 488.6 MB, free: 21.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/0.7047, allocations: 390.4 kB / 489 MB, free: 20.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.7058, allocations: 0.8045 MB / 489.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.706, allocations: 354.6 kB / 490.2 MB, free: 20.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.7083, allocations: 1.351 MB / 491.5 MB, free: 19.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/0.712, allocations: 3.952 MB / 495.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007664/0.7197, allocations: 5.686 MB / 0.4894 GB, free: 7.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-05/0.7198, allocations: 24 kB / 0.4894 GB, free: 7.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06706/0.7869, allocations: 14.61 MB / 0.5037 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/0.787, allocations: 47.94 kB / 0.5037 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.7871, allocations: 95.12 kB / 0.5038 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/0.7918, allocations: 1.456 MB / 0.5053 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.7948, allocations: 0.8694 MB / 0.5061 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.7978, allocations: 1.909 MB / 0.508 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/0.8021, allocations: 0.598 MB / 0.5086 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/0.8027, allocations: 252 kB / 0.5088 GB, free: 3.605 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.002342/0.8051, allocations: 1.17 MB / 0.5099 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/0.8055, allocations: 193.4 kB / 0.5101 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/0.8106, allocations: 1.89 MB / 0.512 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006778/0.8113, allocations: 131.6 kB / 0.5121 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.8113, allocations: 4 kB / 0.5121 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.8113, allocations: 3.984 kB / 0.5121 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009926/0.8213, allocations: 3.846 MB / 0.5159 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.8213, allocations: 0 / 0.5159 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.8217, allocations: 87.83 kB / 0.5159 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004407/0.8262, allocations: 1.354 MB / 0.5173 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.8263, allocations: 8 kB / 0.5173 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.829, allocations: 1.726 MB / 0.519 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.829, allocations: 8 kB / 0.519 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.8333, allocations: 2.306 MB / 0.5212 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.8343, allocations: 391.1 kB / 0.5216 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.8346, allocations: 12 kB / 0.5216 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008457/0.8354, allocations: 66.34 kB / 0.5217 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8355, allocations: 39.94 kB / 0.5217 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.8356, allocations: 28 kB / 0.5217 GB, free: 6.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002666/0.8383, allocations: 1.482 MB / 0.5232 GB, free: 4.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8383, allocations: 3.938 kB / 0.5232 GB, free: 4.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003661/0.842, allocations: 0.588 MB / 0.5238 GB, free: 4.164 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.0005216/0.8425, allocations: 176.6 kB / 0.5239 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005965/0.8485, allocations: 3.048 MB / 0.5269 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.8485, allocations: 0 / 0.5269 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.85, allocations: 0.7589 MB / 0.5276 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.8516, allocations: 181.3 kB / 0.5278 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009708/0.8613, allocations: 5.542 MB / 0.5332 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.8632, allocations: 1.859 MB / 0.535 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.8638, allocations: 171.4 kB / 0.5352 GB, free: 8.391 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.8638, allocations: 0 / 0.5352 GB, free: 8.391 MB / 414.1 MB Notification: Performance of Templates: time 0.07015/0.934, allocations: 39.36 MB / 0.5736 GB, free: 1.109 MB / 446.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)