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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 176.5 kB / 15.78 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 239.8 MB, free: 1.711 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008007/0.0008008, allocations: 93.44 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03929/0.03929, allocations: 7.986 MB / 350 MB, free: 3.078 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003437, allocations: 8.781 kB / 412.7 MB, free: 89.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 52.22 MB / 464.9 MB, free: 43.17 MB / 330.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006932/0.1181, allocations: 8.111 MB / 473 MB, free: 35.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.1231, allocations: 2.4 MB / 475.4 MB, free: 32.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008509/0.124, allocations: 27.94 kB / 475.5 MB, free: 32.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.1247, allocations: 386.2 kB / 475.8 MB, free: 32.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1267, allocations: 1.132 MB / 477 MB, free: 31.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.127, allocations: 103.8 kB / 477.1 MB, free: 30.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.1282, allocations: 1.724 MB / 478.8 MB, free: 29.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.1285, allocations: 395.2 kB / 479.2 MB, free: 28.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.1289, allocations: 0.502 MB / 479.7 MB, free: 28.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.1296, allocations: 0.8255 MB / 480.5 MB, free: 27.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.1298, allocations: 60 kB / 480.6 MB, free: 27.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005389/0.1303, allocations: 347.3 kB / 480.9 MB, free: 27.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.1307, allocations: 0.6817 MB / 481.6 MB, free: 26.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1309, allocations: 384.4 kB / 482 MB, free: 26.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1322, allocations: 2.109 MB / 484.1 MB, free: 23.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1323, allocations: 0 / 484.1 MB, free: 23.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1323, allocations: 4 kB / 484.1 MB, free: 23.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.1323, allocations: 0 / 484.1 MB, free: 23.91 MB / 330.7 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.002133/0.1344, allocations: 1.811 MB / 485.9 MB, free: 22.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1345, allocations: 12.02 kB / 485.9 MB, free: 22.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/0.1403, allocations: 1.775 MB / 487.7 MB, free: 20.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.1417, allocations: 0.8812 MB / 488.5 MB, free: 19.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.1418, allocations: 81.95 kB / 488.6 MB, free: 19.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.142, allocations: 107.9 kB / 488.7 MB, free: 19.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/0.1472, allocations: 5.107 MB / 493.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.1473, allocations: 23.81 kB / 493.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.1474, allocations: 59.84 kB / 493.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/0.1495, allocations: 1.248 MB / 495.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005911/0.1554, allocations: 4.457 MB / 499.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.1763, allocations: 20.67 MB / 0.5081 GB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.1785, allocations: 1.661 MB / 0.5097 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.1797, allocations: 0.7529 MB / 0.5105 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.1799, allocations: 96.97 kB / 0.5106 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1799, allocations: 46.5 kB / 0.5106 GB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 3.487e-06/0.1799, allocations: 0 / 0.5106 GB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.05961/0.2396, allocations: 12.57 MB / 0.5229 GB, free: 2.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.2397, allocations: 136.5 kB / 0.523 GB, free: 2.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.2432, allocations: 2.397 MB / 0.5253 GB, free: 396 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.2434, allocations: 37.7 kB / 0.5254 GB, free: 352 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2293/0.4727, allocations: 1.732 MB / 0.5271 GB, free: 67.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006805/0.4734, allocations: 390.8 kB / 0.5274 GB, free: 67.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.4737, allocations: 76.2 kB / 0.5275 GB, free: 67.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000387/0.4741, allocations: 0.5275 MB / 0.528 GB, free: 66.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.4764, allocations: 1.33 MB / 0.5293 GB, free: 66.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/0.4799, allocations: 3.936 MB / 0.5332 GB, free: 63.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.4833, allocations: 2.213 MB / 0.5353 GB, free: 63.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.148e-05/0.4834, allocations: 27.19 kB / 0.5354 GB, free: 63.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.01043/0.4938, allocations: 5.347 MB / 0.5406 GB, free: 62.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.4939, allocations: 46.62 kB / 0.5406 GB, free: 62.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/0.4941, allocations: 94.09 kB / 0.5407 GB, free: 62.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004425/0.4985, allocations: 1.479 MB / 0.5422 GB, free: 62.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/0.5015, allocations: 0.8685 MB / 0.543 GB, free: 62.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/0.5046, allocations: 1.904 MB / 0.5449 GB, free: 61.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/0.5081, allocations: 0.5853 MB / 0.5454 GB, free: 61.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006542/0.5087, allocations: 255.8 kB / 0.5457 GB, free: 61.39 MB / 362.7 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.002504/0.5112, allocations: 1.163 MB / 0.5468 GB, free: 60.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005306/0.5118, allocations: 196.8 kB / 0.547 GB, free: 60.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.517, allocations: 1.9 MB / 0.5489 GB, free: 60.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006637/0.5176, allocations: 123.2 kB / 0.549 GB, free: 60.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.5177, allocations: 1.156 kB / 0.549 GB, free: 60.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.5177, allocations: 5.172 kB / 0.549 GB, free: 60.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/0.5261, allocations: 3.853 MB / 0.5527 GB, free: 57.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.5261, allocations: 3.984 kB / 0.5527 GB, free: 57.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.5265, allocations: 88.83 kB / 0.5528 GB, free: 57.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003647/0.5301, allocations: 1.35 MB / 0.5542 GB, free: 56.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.5302, allocations: 15.98 kB / 0.5542 GB, free: 56.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.5322, allocations: 1.741 MB / 0.5559 GB, free: 54.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5322, allocations: 4.031 kB / 0.5559 GB, free: 54.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/0.5357, allocations: 2.289 MB / 0.5581 GB, free: 52.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.5365, allocations: 394.3 kB / 0.5585 GB, free: 51.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.5367, allocations: 19.59 kB / 0.5585 GB, free: 51.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/0.5375, allocations: 60.92 kB / 0.5586 GB, free: 51.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.5376, allocations: 48.5 kB / 0.5586 GB, free: 51.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.5376, allocations: 32.84 kB / 0.5586 GB, free: 51.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001888/0.5395, allocations: 1.47 MB / 0.5601 GB, free: 50.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.5396, allocations: 0 / 0.5601 GB, free: 50.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003342/0.5429, allocations: 0.6011 MB / 0.5607 GB, free: 49.75 MB / 362.7 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.0003611/0.5433, allocations: 166.3 kB / 0.5608 GB, free: 49.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004542/0.5478, allocations: 3.021 MB / 0.5638 GB, free: 46.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5478, allocations: 4.125 kB / 0.5638 GB, free: 46.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.549, allocations: 0.7543 MB / 0.5645 GB, free: 45.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5503, allocations: 181 kB / 0.5647 GB, free: 45.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006883/0.5572, allocations: 5.371 MB / 0.5699 GB, free: 40.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.5585, allocations: 1.853 MB / 0.5717 GB, free: 38.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.5589, allocations: 171.4 kB / 0.5719 GB, free: 38.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.472e-06/0.5589, allocations: 0 / 0.5719 GB, free: 38.2 MB / 362.7 MB Notification: Performance of Templates: time 0.04788/0.6068, allocations: 39.02 MB / 0.61 GB, free: 15.21 MB / 378.7 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)