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.00107/0.00107, allocations: 182.8 kB / 15.98 MB, free: 5.77 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.233/1.233, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009854, allocations: 117.2 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03819/0.03819, allocations: 7.977 MB / 348 MB, free: 1.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000914/0.0009141, allocations: 64.72 kB / 410 MB, free: 58.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0777/0.07863, allocations: 51.21 MB / 461.2 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007419/0.08609, allocations: 9.12 MB / 470.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.08985, allocations: 2.582 MB / 472.9 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.09025, allocations: 31.94 kB / 472.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.09106, allocations: 382.6 kB / 473.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.09217, allocations: 0.6733 MB / 474 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.09239, allocations: 95.77 kB / 474 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.09431, allocations: 2.229 MB / 476.3 MB, free: 8.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.09472, allocations: 326.1 kB / 476.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.09518, allocations: 461.8 kB / 477 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.09599, allocations: 0.8369 MB / 477.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.09613, allocations: 60 kB / 477.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006271/0.09677, allocations: 383.3 kB / 478.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.09733, allocations: 0.7009 MB / 479 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006044/0.09794, allocations: 0.8728 MB / 479.9 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.1002, allocations: 2.683 MB / 482.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.1003, allocations: 4 kB / 482.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1003, allocations: 3.938 kB / 482.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.04e-05/0.1003, allocations: 0 / 482.6 MB, free: 1.727 MB / 314.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.1566/0.2569, allocations: 2.13 MB / 484.7 MB, free: 29.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.257, allocations: 9.469 kB / 484.7 MB, free: 29.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006812/0.2638, allocations: 1.741 MB / 486.5 MB, free: 29.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.2656, allocations: 0.8937 MB / 487.4 MB, free: 28.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.2657, allocations: 82.67 kB / 487.4 MB, free: 28.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.2659, allocations: 102.6 kB / 487.5 MB, free: 28.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00585/0.2717, allocations: 5.124 MB / 492.7 MB, free: 25.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.2718, allocations: 21.94 kB / 492.7 MB, free: 25.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.2719, allocations: 57.97 kB / 492.7 MB, free: 25.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002318/0.2743, allocations: 1.246 MB / 494 MB, free: 25.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006264/0.2805, allocations: 4.492 MB / 498.5 MB, free: 23.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.2954, allocations: 20.65 MB / 0.507 GB, free: 4.672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.297, allocations: 1.661 MB / 0.5086 GB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.2979, allocations: 0.7572 MB / 0.5093 GB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.298, allocations: 90.19 kB / 0.5094 GB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.298, allocations: 40.62 kB / 0.5094 GB, free: 1.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 3.196e-06/0.298, allocations: 4 kB / 0.5094 GB, free: 1.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.06006/0.3581, allocations: 12.58 MB / 0.5217 GB, free: 5.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.3582, allocations: 132.5 kB / 0.5219 GB, free: 5.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.3613, allocations: 2.409 MB / 0.5242 GB, free: 2.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.211e-05/0.3614, allocations: 37.69 kB / 0.5242 GB, free: 2.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3624, allocations: 1.733 MB / 0.5259 GB, free: 0.9023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.3627, allocations: 391.2 kB / 0.5263 GB, free: 0.5156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000909/0.3636, allocations: 0.8053 MB / 0.5271 GB, free: 15.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3638, allocations: 357.9 kB / 0.5274 GB, free: 15.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.3656, allocations: 1.343 MB / 0.5288 GB, free: 14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.369, allocations: 3.953 MB / 0.5326 GB, free: 8.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/0.3748, allocations: 5.675 MB / 0.5382 GB, free: 1.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.615e-05/0.3748, allocations: 28 kB / 0.5382 GB, free: 1.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0626/0.4374, allocations: 14.62 MB / 0.5525 GB, free: 3.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.4375, allocations: 50.17 kB / 0.5525 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-05/0.4376, allocations: 92 kB / 0.5526 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.4417, allocations: 1.456 MB / 0.554 GB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.444, allocations: 0.8694 MB / 0.5549 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.4466, allocations: 1.901 MB / 0.5567 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.449, allocations: 0.5943 MB / 0.5573 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.4493, allocations: 256 kB / 0.5575 GB, free: 13.84 MB / 378.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 (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.001318/0.4506, allocations: 1.169 MB / 0.5587 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.4508, allocations: 197.4 kB / 0.5589 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.4553, allocations: 1.893 MB / 0.5607 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006315/0.4559, allocations: 127.8 kB / 0.5608 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4559, allocations: 0 / 0.5608 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.456, allocations: 8 kB / 0.5609 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007729/0.4637, allocations: 3.861 MB / 0.5646 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4637, allocations: 0 / 0.5646 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.4641, allocations: 83.89 kB / 0.5647 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004014/0.4681, allocations: 1.338 MB / 0.566 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.4682, allocations: 27.97 kB / 0.566 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.4705, allocations: 1.738 MB / 0.5677 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4705, allocations: 0 / 0.5677 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/0.4757, allocations: 4.036 MB / 0.5717 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/0.4765, allocations: 390.3 kB / 0.572 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.4767, allocations: 16.72 kB / 0.5721 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007836/0.4775, allocations: 67.89 kB / 0.5721 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.4775, allocations: 35.95 kB / 0.5722 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.4776, allocations: 27.98 kB / 0.5722 GB, free: 14.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001876/0.4795, allocations: 1.486 MB / 0.5736 GB, free: 13.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4795, allocations: 0 / 0.5736 GB, free: 13.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002368/0.4819, allocations: 0.5849 MB / 0.5742 GB, free: 12.55 MB / 394.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 (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.0003296/0.4822, allocations: 177.8 kB / 0.5744 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004247/0.4865, allocations: 3.061 MB / 0.5774 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4865, allocations: 0 / 0.5774 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.4878, allocations: 0.7547 MB / 0.5781 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.4888, allocations: 185.6 kB / 0.5783 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006205/0.495, allocations: 5.894 MB / 0.584 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.4964, allocations: 1.886 MB / 0.5859 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002573/0.499, allocations: 1.275 MB / 0.5871 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4993, allocations: 135.4 kB / 0.5873 GB, free: 15.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4993, allocations: 3.938 kB / 0.5873 GB, free: 15.12 MB / 410.7 MB Notification: Performance of Templates: time 0.03264/0.5319, allocations: 22.56 MB / 0.6093 GB, free: 8.559 MB / 426.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)