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.001278/0.001278, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001241/0.001241, allocations: 196.5 kB / 16.91 MB, free: 6.195 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04618/0.04618, allocations: 7.992 MB / 298.7 MB, free: 7.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 55.91 kB / 360.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1999, allocations: 51.2 MB / 412 MB, free: 26.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006623/0.2065, allocations: 9.126 MB / 421.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.2104, allocations: 2.555 MB / 423.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.2112, allocations: 31.94 kB / 423.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.2121, allocations: 370.6 kB / 424 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.2132, allocations: 0.6764 MB / 424.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2134, allocations: 103.8 kB / 424.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2145, allocations: 1.616 MB / 426.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.2148, allocations: 350.1 kB / 426.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.2152, allocations: 0.5096 MB / 427.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000649/0.2159, allocations: 0.8876 MB / 428.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.216, allocations: 92 kB / 428.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.2166, allocations: 403.3 kB / 428.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.2169, allocations: 0.7322 MB / 429.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.2174, allocations: 0.9041 MB / 430.3 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.2187, allocations: 2.185 MB / 432.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2187, allocations: 0 / 432.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2188, allocations: 0 / 432.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.2188, allocations: 0 / 432.5 MB, free: 6.391 MB / 302.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.002505/0.2213, allocations: 2.147 MB / 434.6 MB, free: 4.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.2214, allocations: 16.03 kB / 434.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.2274, allocations: 1.729 MB / 436.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.2289, allocations: 0.8823 MB / 437.3 MB, free: 1.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.2289, allocations: 89.94 kB / 437.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.2292, allocations: 111.9 kB / 437.5 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.2362, allocations: 5.111 MB / 442.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.2363, allocations: 19.81 kB / 442.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.2365, allocations: 59.91 kB / 442.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/0.239, allocations: 1.24 MB / 443.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007954/0.247, allocations: 4.496 MB / 448.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02392/0.271, allocations: 20.66 MB / 469 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.2735, allocations: 1.67 MB / 470.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.2747, allocations: 0.7646 MB / 471.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2749, allocations: 93.11 kB / 471.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2749, allocations: 42.56 kB / 471.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.366e-06/0.275, allocations: 0 / 471.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=96): time 0.06425/0.3392, allocations: 12.57 MB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.3393, allocations: 140.5 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.3429, allocations: 2.401 MB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/0.3431, allocations: 37.69 kB / 486.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001462/0.3446, allocations: 1.733 MB / 488.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/0.3451, allocations: 399.1 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.3463, allocations: 0.7975 MB / 489.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3466, allocations: 353.9 kB / 490 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.349, allocations: 1.355 MB / 491.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004669/0.3537, allocations: 3.945 MB / 495.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007528/0.3613, allocations: 5.679 MB / 0.4893 GB, free: 13.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.733e-05/0.3614, allocations: 24 kB / 0.4893 GB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.2209/0.5822, allocations: 14.62 MB / 0.5036 GB, free: 89.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.5824, allocations: 46.53 kB / 0.5036 GB, free: 89.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.5825, allocations: 91.22 kB / 0.5037 GB, free: 89.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/0.5866, allocations: 1.459 MB / 0.5051 GB, free: 89.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/0.589, allocations: 0.8746 MB / 0.506 GB, free: 89.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.5916, allocations: 1.905 MB / 0.5078 GB, free: 89.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.5947, allocations: 0.5928 MB / 0.5084 GB, free: 89.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006249/0.5953, allocations: 252.9 kB / 0.5086 GB, free: 89.29 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.001863/0.5972, allocations: 1.169 MB / 0.5098 GB, free: 88.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.5976, allocations: 193.6 kB / 0.51 GB, free: 88.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.6018, allocations: 1.902 MB / 0.5118 GB, free: 88.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000643/0.6024, allocations: 122.8 kB / 0.5119 GB, free: 88.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.6025, allocations: 0 / 0.5119 GB, free: 88.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.6025, allocations: 3.844 kB / 0.5119 GB, free: 88.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007471/0.61, allocations: 3.851 MB / 0.5157 GB, free: 86.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.61, allocations: 6.312 kB / 0.5157 GB, free: 86.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.6104, allocations: 79.62 kB / 0.5158 GB, free: 86.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/0.6141, allocations: 1.356 MB / 0.5171 GB, free: 86.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.6142, allocations: 11.98 kB / 0.5171 GB, free: 86.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.6163, allocations: 1.74 MB / 0.5188 GB, free: 84.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6163, allocations: 0 / 0.5188 GB, free: 84.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/0.6195, allocations: 2.306 MB / 0.5211 GB, free: 82.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/0.6202, allocations: 386.3 kB / 0.5214 GB, free: 81.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.6205, allocations: 15.2 kB / 0.5215 GB, free: 81.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/0.6213, allocations: 63.89 kB / 0.5215 GB, free: 81.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.6214, allocations: 44.59 kB / 0.5216 GB, free: 81.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.6215, allocations: 31.98 kB / 0.5216 GB, free: 81.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001629/0.6231, allocations: 1.482 MB / 0.523 GB, free: 80.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6232, allocations: 4 kB / 0.523 GB, free: 80.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002814/0.626, allocations: 0.5861 MB / 0.5236 GB, free: 79.48 MB / 382.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.0003764/0.6264, allocations: 168.5 kB / 0.5238 GB, free: 79.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.631, allocations: 3.203 MB / 0.5269 GB, free: 76.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.631, allocations: 0.75 kB / 0.5269 GB, free: 76.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6322, allocations: 0.7636 MB / 0.5277 GB, free: 75.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.6336, allocations: 187.7 kB / 0.5278 GB, free: 75.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.6396, allocations: 5.536 MB / 0.5332 GB, free: 69.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.6408, allocations: 1.856 MB / 0.535 GB, free: 67.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.6412, allocations: 171.4 kB / 0.5352 GB, free: 67.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6412, allocations: 0 / 0.5352 GB, free: 67.59 MB / 382.1 MB Notification: Performance of Templates: time 0.0399/0.6811, allocations: 39.36 MB / 0.5737 GB, free: 28.27 MB / 382.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)