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.0007993/0.0007993, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005451/0.005451, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1589/0.1589, allocations: 7.988 MB / 299.4 MB, free: 3.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 12 kB / 362.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.0984, allocations: 52.21 MB / 414.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.008175/0.1066, allocations: 8.642 MB / 423.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1855/0.2921, allocations: 2.547 MB / 425.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.2932, allocations: 30.75 kB / 425.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.294, allocations: 216.6 kB / 426 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.2958, allocations: 0.6857 MB / 426.7 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.2961, allocations: 97.38 kB / 426.8 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.298, allocations: 2.21 MB / 429 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.2986, allocations: 407.4 kB / 429.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/0.2991, allocations: 453.5 kB / 429.8 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008687/0.3, allocations: 0.8369 MB / 430.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.3002, allocations: 58.84 kB / 430.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006808/0.3009, allocations: 382.7 kB / 431.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.3014, allocations: 0.7122 MB / 431.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.3021, allocations: 0.9023 MB / 432.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.3043, allocations: 2.642 MB / 435.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3043, allocations: 0.5625 kB / 435.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3043, allocations: 0 / 435.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.311e-05/0.3044, allocations: 0 / 435.4 MB, free: 32.81 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.002589/0.307, allocations: 1.774 MB / 437.1 MB, free: 31.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.307, allocations: 9.219 kB / 437.2 MB, free: 31.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.3135, allocations: 1.787 MB / 438.9 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.3151, allocations: 0.8898 MB / 439.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.3152, allocations: 87.62 kB / 439.9 MB, free: 31.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.3155, allocations: 113.6 kB / 440 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/0.3211, allocations: 5.108 MB / 445.1 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.3212, allocations: 24.81 kB / 445.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.3214, allocations: 57.36 kB / 445.2 MB, free: 29.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002111/0.3235, allocations: 1.24 MB / 446.5 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/0.3297, allocations: 4.488 MB / 450.9 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.3467, allocations: 20.67 MB / 471.6 MB, free: 28.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.3488, allocations: 1.672 MB / 473.3 MB, free: 26.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.35, allocations: 0.75 MB / 474 MB, free: 26.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.3502, allocations: 87.14 kB / 474.1 MB, free: 26.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3502, allocations: 47.66 kB / 474.2 MB, free: 26.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.616e-06/0.3502, allocations: 4 kB / 474.2 MB, free: 26.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.0667/0.4169, allocations: 12.59 MB / 486.8 MB, free: 22.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.417, allocations: 138.9 kB / 486.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.4202, allocations: 2.41 MB / 489.3 MB, free: 21.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.4204, allocations: 33.75 kB / 489.3 MB, free: 21.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/0.4211, allocations: 1.736 MB / 491.1 MB, free: 19.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.4215, allocations: 397.8 kB / 491.5 MB, free: 19.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.4218, allocations: 341.7 kB / 491.8 MB, free: 19.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4219, allocations: 353.2 kB / 492.1 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.4238, allocations: 1.344 MB / 493.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.4265, allocations: 3.949 MB / 497.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006349/0.4328, allocations: 5.673 MB / 0.4913 GB, free: 5.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.999e-05/0.4329, allocations: 28 kB / 0.4913 GB, free: 5.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06845/0.5014, allocations: 14.62 MB / 0.5056 GB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.649e-05/0.5015, allocations: 51.94 kB / 0.5057 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.5016, allocations: 92 kB / 0.5058 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004413/0.506, allocations: 1.47 MB / 0.5072 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/0.5086, allocations: 0.8694 MB / 0.508 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.5114, allocations: 1.902 MB / 0.5099 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/0.5144, allocations: 0.5964 MB / 0.5105 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/0.5149, allocations: 254 kB / 0.5107 GB, free: 2.031 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.001737/0.5166, allocations: 1.169 MB / 0.5119 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.517, allocations: 189.5 kB / 0.512 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004889/0.5219, allocations: 1.903 MB / 0.5139 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006938/0.5226, allocations: 123.8 kB / 0.514 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.5226, allocations: 3.5 kB / 0.514 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.5226, allocations: 7.984 kB / 0.514 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/0.5314, allocations: 3.853 MB / 0.5178 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.5315, allocations: 4 kB / 0.5178 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.5319, allocations: 87.83 kB / 0.5179 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004176/0.5361, allocations: 1.364 MB / 0.5192 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.5362, allocations: 18.42 kB / 0.5192 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.5386, allocations: 1.736 MB / 0.5209 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5386, allocations: 4.031 kB / 0.5209 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.5424, allocations: 2.302 MB / 0.5232 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007116/0.5431, allocations: 398.1 kB / 0.5236 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5433, allocations: 13.17 kB / 0.5236 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.5442, allocations: 72.77 kB / 0.5236 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5443, allocations: 41.59 kB / 0.5237 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/0.5444, allocations: 27.98 kB / 0.5237 GB, free: 4.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002083/0.5465, allocations: 1.482 MB / 0.5252 GB, free: 3.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5465, allocations: 0 / 0.5252 GB, free: 3.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00269/0.5492, allocations: 0.5798 MB / 0.5257 GB, free: 2.551 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.0004058/0.5496, allocations: 185 kB / 0.5259 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005029/0.5547, allocations: 3.046 MB / 0.5289 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5547, allocations: 0 / 0.5289 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.5561, allocations: 0.7599 MB / 0.5296 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.5576, allocations: 177.1 kB / 0.5298 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.5648, allocations: 5.323 MB / 0.535 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.5665, allocations: 1.851 MB / 0.5368 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0028/0.5693, allocations: 1.272 MB / 0.538 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.5696, allocations: 139.4 kB / 0.5382 GB, free: 5.754 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5696, allocations: 3.938 kB / 0.5382 GB, free: 5.75 MB / 414.1 MB Notification: Performance of Templates: time 0.03866/0.6083, allocations: 21.55 MB / 0.5592 GB, free: 276 kB / 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)