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.001249/0.001249, allocations: 112.3 kB / 16.37 MB, free: 6.465 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.001244/0.001244, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.03987/0.03987, allocations: 7.993 MB / 299.2 MB, free: 7.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 362.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1696, allocations: 51.21 MB / 413.3 MB, free: 26.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004478/0.1742, allocations: 5.63 MB / 418.9 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1767, allocations: 2.003 MB / 420.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.177, allocations: 20 kB / 420.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.1777, allocations: 402.1 kB / 421.3 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000981/0.1787, allocations: 0.7182 MB / 422 MB, free: 17.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1789, allocations: 115.7 kB / 422.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.18, allocations: 1.58 MB / 423.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1803, allocations: 334.1 kB / 424 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1807, allocations: 0.5134 MB / 424.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.1813, allocations: 0.7862 MB / 425.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1814, allocations: 92 kB / 425.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.1819, allocations: 395.4 kB / 425.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.1822, allocations: 0.7089 MB / 426.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.1826, allocations: 0.8846 MB / 427.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.1841, allocations: 2.858 MB / 430.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1841, allocations: 0 / 430.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1841, allocations: 0 / 430.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.1841, allocations: 0 / 430.3 MB, free: 9.688 MB / 302.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.002097/0.1862, allocations: 2.143 MB / 432.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.1863, allocations: 8.031 kB / 432.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.1917, allocations: 1.733 MB / 434.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.1931, allocations: 0.8979 MB / 435.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.1932, allocations: 85.94 kB / 435.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.1934, allocations: 107.8 kB / 435.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.1976, allocations: 5.111 MB / 440.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.1977, allocations: 27.75 kB / 440.4 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.1978, allocations: 59.89 kB / 440.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.1998, allocations: 1.24 MB / 441.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005707/0.2056, allocations: 4.492 MB / 446.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.2229, allocations: 20.6 MB / 466.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.2248, allocations: 1.669 MB / 468.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.2258, allocations: 0.749 MB / 469.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.2259, allocations: 105 kB / 469.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2259, allocations: 38.56 kB / 469.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/0.2259, allocations: 0 / 469.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=96): time 0.05616/0.2821, allocations: 12.56 MB / 481.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.2822, allocations: 144.5 kB / 482 MB, free: 4.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.2854, allocations: 2.409 MB / 484.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.2856, allocations: 37.69 kB / 484.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.2866, allocations: 1.733 MB / 486.2 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.287, allocations: 391.2 kB / 486.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009457/0.288, allocations: 0.8052 MB / 487.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2881, allocations: 357.9 kB / 487.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.29, allocations: 1.347 MB / 489.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.2933, allocations: 3.953 MB / 493.1 MB, free: 7.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005458/0.2988, allocations: 5.671 MB / 498.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.677e-05/0.2988, allocations: 32 kB / 498.8 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.05914/0.358, allocations: 14.61 MB / 0.5013 GB, free: 2.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.3581, allocations: 51.98 kB / 0.5014 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.3582, allocations: 92 kB / 0.5015 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/0.3622, allocations: 1.451 MB / 0.5029 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1504/0.5127, allocations: 0.8649 MB / 0.5037 GB, free: 90.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.5153, allocations: 1.905 MB / 0.5056 GB, free: 90.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.5179, allocations: 0.5917 MB / 0.5062 GB, free: 90.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.5183, allocations: 256.2 kB / 0.5064 GB, free: 90.03 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.001192/0.5195, allocations: 1.165 MB / 0.5076 GB, free: 89.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.5198, allocations: 191.7 kB / 0.5077 GB, free: 89.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.5239, allocations: 1.897 MB / 0.5096 GB, free: 88.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006324/0.5245, allocations: 125.2 kB / 0.5097 GB, free: 88.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.5246, allocations: 2.375 kB / 0.5097 GB, free: 88.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.5246, allocations: 8.5 kB / 0.5097 GB, free: 88.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007752/0.5323, allocations: 3.843 MB / 0.5135 GB, free: 87.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5324, allocations: 4.625 kB / 0.5135 GB, free: 87.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.5327, allocations: 85.12 kB / 0.5136 GB, free: 87.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/0.5361, allocations: 1.342 MB / 0.5149 GB, free: 87.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.5362, allocations: 15.91 kB / 0.5149 GB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5381, allocations: 1.746 MB / 0.5166 GB, free: 86.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5381, allocations: 0.8438 kB / 0.5166 GB, free: 86.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002857/0.541, allocations: 2.302 MB / 0.5188 GB, free: 85.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/0.5417, allocations: 392.4 kB / 0.5192 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.5419, allocations: 11.72 kB / 0.5192 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/0.5426, allocations: 65.19 kB / 0.5193 GB, free: 84.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.5427, allocations: 47.84 kB / 0.5193 GB, free: 84.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.5428, allocations: 29.89 kB / 0.5194 GB, free: 84.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001535/0.5443, allocations: 1.482 MB / 0.5208 GB, free: 83.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5444, allocations: 0 / 0.5208 GB, free: 83.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002376/0.5467, allocations: 0.5821 MB / 0.5214 GB, free: 82.93 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 (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.0003208/0.5471, allocations: 173.8 kB / 0.5215 GB, free: 82.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.5509, allocations: 3.066 MB / 0.5245 GB, free: 79.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.5509, allocations: 0 / 0.5245 GB, free: 79.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5519, allocations: 0.7637 MB / 0.5253 GB, free: 78.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5531, allocations: 191.8 kB / 0.5255 GB, free: 78.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.5585, allocations: 4.376 MB / 0.5297 GB, free: 74.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.5599, allocations: 1.859 MB / 0.5316 GB, free: 72.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002092/0.562, allocations: 1.264 MB / 0.5328 GB, free: 71.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.5623, allocations: 139.4 kB / 0.5329 GB, free: 71.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5623, allocations: 0 / 0.5329 GB, free: 71.1 MB / 382.1 MB Notification: Performance of Templates: time 0.02867/0.591, allocations: 21.21 MB / 0.5536 GB, free: 49.95 MB / 382.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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)