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.001283/0.001282, allocations: 108 kB / 15.61 MB, free: 152 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.001104/0.001104, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1882/0.1882, allocations: 7.987 MB / 298.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 360.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1095, allocations: 51.19 MB / 411.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007428/0.117, allocations: 5.628 MB / 417.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.1217, allocations: 2.009 MB / 419.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008667/0.1226, allocations: 19.94 kB / 419.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.1239, allocations: 398.2 kB / 419.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1259, allocations: 0.7196 MB / 420.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1263, allocations: 111.7 kB / 420.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1284, allocations: 1.584 MB / 422.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.1291, allocations: 326.2 kB / 422.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008867/0.13, allocations: 0.5135 MB / 423.1 MB, free: 52 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.203/0.333, allocations: 0.7715 MB / 423.9 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003397/0.3334, allocations: 91.44 kB / 424 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008087/0.3342, allocations: 397 kB / 424.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004833/0.3347, allocations: 0.714 MB / 425.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.3353, allocations: 0.8851 MB / 425.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.3372, allocations: 2.706 MB / 428.6 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3372, allocations: 0 / 428.6 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3372, allocations: 1.406 kB / 428.6 MB, free: 35.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.3373, allocations: 1 kB / 428.6 MB, free: 35.34 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.002409/0.3397, allocations: 2.142 MB / 430.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3397, allocations: 10.34 kB / 430.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.3456, allocations: 1.74 MB / 432.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3467, allocations: 0.8892 MB / 433.4 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.3468, allocations: 80.56 kB / 433.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.347, allocations: 109.7 kB / 433.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004516/0.3515, allocations: 5.109 MB / 438.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.3515, allocations: 24.72 kB / 438.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.3517, allocations: 60.64 kB / 438.8 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.3537, allocations: 1.24 MB / 440 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.359, allocations: 4.493 MB / 444.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.3736, allocations: 20.67 MB / 465.2 MB, free: 30.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.3752, allocations: 1.672 MB / 466.9 MB, free: 29.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009879/0.3762, allocations: 0.7528 MB / 467.6 MB, free: 29.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3763, allocations: 88.25 kB / 467.7 MB, free: 29.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3764, allocations: 49.94 kB / 467.8 MB, free: 29.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.576e-06/0.3764, allocations: 0 / 467.8 MB, free: 29.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06353/0.4399, allocations: 12.56 MB / 480.3 MB, free: 27.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.4401, allocations: 138.5 kB / 480.5 MB, free: 26.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/0.4462, allocations: 2.403 MB / 482.9 MB, free: 25.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001872/0.4464, allocations: 35.41 kB / 482.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009285/0.4474, allocations: 1.739 MB / 484.6 MB, free: 23.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.4477, allocations: 393.5 kB / 485 MB, free: 23.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009842/0.4487, allocations: 0.8018 MB / 485.8 MB, free: 23.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4489, allocations: 355.2 kB / 486.2 MB, free: 22.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.4507, allocations: 1.341 MB / 487.5 MB, free: 22.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.4534, allocations: 3.957 MB / 491.5 MB, free: 17.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/0.4607, allocations: 5.688 MB / 497.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.54e-05/0.4608, allocations: 28 kB / 497.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06391/0.5247, allocations: 14.61 MB / 0.4998 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.5249, allocations: 47.94 kB / 0.4999 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/0.5251, allocations: 92 kB / 0.4999 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00439/0.5295, allocations: 1.458 MB / 0.5014 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.5322, allocations: 0.8694 MB / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.535, allocations: 1.913 MB / 0.5041 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.5386, allocations: 0.5899 MB / 0.5047 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/0.5393, allocations: 244 kB / 0.5049 GB, free: 8.777 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.002363/0.5417, allocations: 1.184 MB / 0.506 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.5422, allocations: 193.4 kB / 0.5062 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.547, allocations: 1.882 MB / 0.5081 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006518/0.5477, allocations: 128.7 kB / 0.5082 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.5477, allocations: 0 / 0.5082 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5477, allocations: 7.984 kB / 0.5082 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009359/0.5571, allocations: 3.85 MB / 0.512 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5571, allocations: 4.281 kB / 0.512 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.5575, allocations: 88.91 kB / 0.512 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003982/0.5615, allocations: 1.344 MB / 0.5134 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/0.5616, allocations: 23.92 kB / 0.5134 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.564, allocations: 1.738 MB / 0.5151 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.564, allocations: 0 / 0.5151 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.5679, allocations: 2.296 MB / 0.5173 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/0.5688, allocations: 386.3 kB / 0.5177 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/0.5694, allocations: 14.97 kB / 0.5177 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.5705, allocations: 71.83 kB / 0.5178 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5706, allocations: 39.89 kB / 0.5178 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.5707, allocations: 30.88 kB / 0.5178 GB, free: 11.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003173/0.5739, allocations: 1.486 MB / 0.5193 GB, free: 9.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5739, allocations: 0 / 0.5193 GB, free: 9.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00423/0.5782, allocations: 0.5845 MB / 0.5199 GB, free: 9.316 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.0006982/0.5789, allocations: 178.2 kB / 0.52 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007192/0.5861, allocations: 3.195 MB / 0.5232 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5861, allocations: 4 kB / 0.5232 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.5877, allocations: 0.7605 MB / 0.5239 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.5897, allocations: 186.4 kB / 0.5241 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009437/0.5992, allocations: 4.423 MB / 0.5284 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/0.6022, allocations: 1.855 MB / 0.5302 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003537/0.6057, allocations: 1.27 MB / 0.5314 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.6062, allocations: 143.4 kB / 0.5316 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6063, allocations: 0 / 0.5316 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.04565/0.6519, allocations: 22.55 MB / 0.5536 GB, free: 6.812 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)