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.001342/0.001342, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.001566/0.001566, allocations: 187 kB / 17.34 MB, free: 5.723 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04185/0.04185, allocations: 7.992 MB / 299.2 MB, free: 7.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 413.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09298, allocations: 51.21 MB / 465 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006944/0.09994, allocations: 5.635 MB / 470.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.1038, allocations: 1.998 MB / 472.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.1045, allocations: 20 kB / 472.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.1057, allocations: 414.1 kB / 473 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1075, allocations: 0.7118 MB / 473.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.1079, allocations: 107.7 kB / 473.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.1101, allocations: 1.588 MB / 475.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.1108, allocations: 330.1 kB / 475.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.1117, allocations: 0.5173 MB / 476.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.1129, allocations: 0.7784 MB / 477 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.1133, allocations: 92 kB / 477.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.1142, allocations: 395.4 kB / 477.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008174/0.115, allocations: 0.7166 MB / 478.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.1162, allocations: 0.8847 MB / 479.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.1194, allocations: 2.848 MB / 482 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1195, allocations: 0 / 482 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1195, allocations: 0 / 482 MB, free: 2.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.643e-05/0.1196, allocations: 0 / 482 MB, free: 2.52 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.004147/0.1237, allocations: 2.147 MB / 484.1 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1238, allocations: 16.02 kB / 484.1 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/0.1308, allocations: 1.729 MB / 485.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.1326, allocations: 0.8976 MB / 486.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.1327, allocations: 85.94 kB / 486.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.1332, allocations: 107.9 kB / 486.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007278/0.1405, allocations: 5.111 MB / 492.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.1405, allocations: 27.75 kB / 492.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.1408, allocations: 55.91 kB / 492.1 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002401/0.1432, allocations: 1.24 MB / 493.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007223/0.1505, allocations: 4.492 MB / 497.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.25/0.4005, allocations: 20.6 MB / 0.5063 GB, free: 30.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.4026, allocations: 1.67 MB / 0.5079 GB, free: 29.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.4039, allocations: 0.7536 MB / 0.5087 GB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.404, allocations: 89.73 kB / 0.5088 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.404, allocations: 47.98 kB / 0.5088 GB, free: 29.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.158e-06/0.404, allocations: 0 / 0.5088 GB, free: 29.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06387/0.4679, allocations: 12.57 MB / 0.5211 GB, free: 26.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.468, allocations: 135.4 kB / 0.5212 GB, free: 26.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.4707, allocations: 2.407 MB / 0.5236 GB, free: 25.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.4709, allocations: 37.64 kB / 0.5236 GB, free: 25.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/0.4716, allocations: 1.728 MB / 0.5253 GB, free: 24.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.4718, allocations: 399.3 kB / 0.5257 GB, free: 23.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006841/0.4725, allocations: 0.8059 MB / 0.5265 GB, free: 23.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.4726, allocations: 353 kB / 0.5268 GB, free: 22.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.4742, allocations: 1.344 MB / 0.5281 GB, free: 22.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.4765, allocations: 3.953 MB / 0.532 GB, free: 18.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.481, allocations: 5.68 MB / 0.5375 GB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-05/0.481, allocations: 28 kB / 0.5375 GB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06213/0.5432, allocations: 14.63 MB / 0.5518 GB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.5433, allocations: 44 kB / 0.5519 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.47e-05/0.5434, allocations: 92 kB / 0.552 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/0.5477, allocations: 1.448 MB / 0.5534 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.5502, allocations: 0.8694 MB / 0.5542 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.5529, allocations: 1.91 MB / 0.5561 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.5559, allocations: 0.5905 MB / 0.5567 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/0.5563, allocations: 259.8 kB / 0.5569 GB, free: 8.25 MB / 398.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.001569/0.5579, allocations: 1.157 MB / 0.558 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.5582, allocations: 189.5 kB / 0.5582 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.5628, allocations: 1.9 MB / 0.5601 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006557/0.5635, allocations: 127.6 kB / 0.5602 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.5635, allocations: 5.688 kB / 0.5602 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.5635, allocations: 3.984 kB / 0.5602 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/0.573, allocations: 3.848 MB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.573, allocations: 4 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.5734, allocations: 83.89 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/0.5775, allocations: 1.343 MB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.342e-05/0.5776, allocations: 19.75 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.58, allocations: 1.728 MB / 0.5671 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5801, allocations: 12.03 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.5838, allocations: 2.295 MB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.5845, allocations: 397 kB / 0.5697 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.5849, allocations: 12 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/0.5859, allocations: 63.34 kB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/0.586, allocations: 35.94 kB / 0.5698 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/0.5861, allocations: 28 kB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002321/0.5884, allocations: 1.486 MB / 0.5713 GB, free: 9.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5884, allocations: 0 / 0.5713 GB, free: 9.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002826/0.5912, allocations: 0.5924 MB / 0.5719 GB, free: 8.828 MB / 414.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.000449/0.5917, allocations: 174.6 kB / 0.572 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005277/0.597, allocations: 3.065 MB / 0.575 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.597, allocations: 4 kB / 0.575 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.5984, allocations: 0.7651 MB / 0.5758 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5999, allocations: 182.7 kB / 0.576 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.6073, allocations: 4.619 MB / 0.5805 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/0.6091, allocations: 1.855 MB / 0.5823 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.6096, allocations: 175.4 kB / 0.5824 GB, free: 13.98 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6096, allocations: 0 / 0.5824 GB, free: 13.98 MB / 430.1 MB Notification: Performance of Templates: time 0.05393/0.6635, allocations: 39.75 MB / 0.6213 GB, free: 6.305 MB / 462.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)