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.001148/0.001149, allocations: 98.88 kB / 16.02 MB, free: 76 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.001709/0.001709, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1741/0.1741, allocations: 7.976 MB / 300.1 MB, free: 3.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 8 kB / 363 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 52.21 MB / 415.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.008702/0.1131, allocations: 8.642 MB / 423.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2268/0.3399, allocations: 2.544 MB / 426.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.341, allocations: 27.47 kB / 426.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.3417, allocations: 220.7 kB / 426.7 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.3432, allocations: 0.6886 MB / 427.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.3435, allocations: 105 kB / 427.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.3452, allocations: 2.206 MB / 429.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.3457, allocations: 401.8 kB / 430.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.3461, allocations: 452.1 kB / 430.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.3469, allocations: 0.8424 MB / 431.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3471, allocations: 59.97 kB / 431.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.3477, allocations: 374.5 kB / 431.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.3481, allocations: 0.7174 MB / 432.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005633/0.3487, allocations: 0.8947 MB / 433.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.3501, allocations: 2.111 MB / 435.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3502, allocations: 0 / 435.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3502, allocations: 4.75 kB / 435.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.3502, allocations: 3.938 kB / 435.5 MB, free: 33.68 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.002282/0.3525, allocations: 1.781 MB / 437.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3525, allocations: 9.094 kB / 437.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006288/0.3588, allocations: 1.787 MB / 439.1 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.3601, allocations: 0.8863 MB / 440 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.3601, allocations: 81.78 kB / 440 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.3604, allocations: 105.6 kB / 440.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005304/0.3657, allocations: 5.116 MB / 445.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.3657, allocations: 21.39 kB / 445.3 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.3659, allocations: 61.55 kB / 445.3 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/0.368, allocations: 1.242 MB / 446.6 MB, free: 29.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006039/0.3741, allocations: 4.491 MB / 451.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.3922, allocations: 20.67 MB / 471.7 MB, free: 28.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.3946, allocations: 1.671 MB / 473.4 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.3958, allocations: 0.7582 MB / 474.2 MB, free: 27.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.396, allocations: 87.86 kB / 474.3 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.396, allocations: 42.06 kB / 474.3 MB, free: 27.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/0.396, allocations: 0 / 474.3 MB, free: 27.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06635/0.4624, allocations: 12.6 MB / 486.9 MB, free: 23.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.4625, allocations: 138.5 kB / 487 MB, free: 23.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.466, allocations: 2.407 MB / 489.4 MB, free: 21.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.4662, allocations: 37.08 kB / 489.5 MB, free: 21.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008498/0.4671, allocations: 1.737 MB / 491.2 MB, free: 20.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.4674, allocations: 385.4 kB / 491.6 MB, free: 19.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.4678, allocations: 343.1 kB / 491.9 MB, free: 19.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.468, allocations: 354.1 kB / 492.3 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.4699, allocations: 1.344 MB / 493.6 MB, free: 18.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.4729, allocations: 3.961 MB / 497.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.4797, allocations: 5.671 MB / 0.4914 GB, free: 6.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.356e-05/0.4798, allocations: 28 kB / 0.4915 GB, free: 6.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06911/0.5489, allocations: 14.62 MB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.549, allocations: 49.81 kB / 0.5058 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.5491, allocations: 96 kB / 0.5059 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.5538, allocations: 1.464 MB / 0.5073 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.5565, allocations: 0.8694 MB / 0.5082 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.5594, allocations: 1.897 MB / 0.51 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.5628, allocations: 0.5963 MB / 0.5106 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004988/0.5633, allocations: 253.1 kB / 0.5108 GB, free: 2.785 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.001901/0.5652, allocations: 1.17 MB / 0.512 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.5655, allocations: 194.3 kB / 0.5122 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004927/0.5705, allocations: 1.895 MB / 0.514 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006912/0.5712, allocations: 127.8 kB / 0.5141 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5712, allocations: 4 kB / 0.5141 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5712, allocations: 3.984 kB / 0.5142 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009175/0.5804, allocations: 3.871 MB / 0.5179 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.5804, allocations: 0 / 0.5179 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.5808, allocations: 87.89 kB / 0.518 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0043/0.5851, allocations: 1.357 MB / 0.5193 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.5853, allocations: 19.98 kB / 0.5194 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.5878, allocations: 1.728 MB / 0.521 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5879, allocations: 5.75 kB / 0.5211 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.5918, allocations: 2.306 MB / 0.5233 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007851/0.5926, allocations: 398.1 kB / 0.5237 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.5928, allocations: 13.48 kB / 0.5237 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.5937, allocations: 69.02 kB / 0.5238 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.5938, allocations: 39.94 kB / 0.5238 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.5939, allocations: 32.88 kB / 0.5238 GB, free: 5.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002268/0.5962, allocations: 1.482 MB / 0.5253 GB, free: 3.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.744e-06/0.5962, allocations: 4 kB / 0.5253 GB, free: 3.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002814/0.599, allocations: 0.5836 MB / 0.5259 GB, free: 3.293 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.0004213/0.5995, allocations: 172.6 kB / 0.526 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005345/0.6048, allocations: 3.051 MB / 0.529 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6048, allocations: 0 / 0.529 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.6063, allocations: 0.7648 MB / 0.5297 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.6078, allocations: 172 kB / 0.5299 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.616, allocations: 5.569 MB / 0.5353 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.6178, allocations: 1.859 MB / 0.5372 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.6182, allocations: 167.4 kB / 0.5373 GB, free: 7.5 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6183, allocations: 0 / 0.5373 GB, free: 7.5 MB / 414.1 MB Notification: Performance of Templates: time 0.0589/0.6772, allocations: 38.99 MB / 0.5754 GB, free: 0.5352 MB / 446.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)