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.001782/0.001782, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001882/0.001882, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04644/0.04644, allocations: 8.015 MB / 299.1 MB, free: 7.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 361.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.199, allocations: 51.2 MB / 412.5 MB, free: 26.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004906/0.2039, allocations: 5.629 MB / 418.1 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.2072, allocations: 1.992 MB / 420.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.208, allocations: 27.94 kB / 420.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.2089, allocations: 414.1 kB / 420.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.2104, allocations: 0.7157 MB / 421.3 MB, free: 17.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2106, allocations: 107.7 kB / 421.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.2119, allocations: 1.579 MB / 422.9 MB, free: 16.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.2123, allocations: 338.1 kB / 423.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.2127, allocations: 0.5096 MB / 423.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.2133, allocations: 0.7706 MB / 424.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.2135, allocations: 92 kB / 424.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.2141, allocations: 399.4 kB / 425 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.2144, allocations: 0.7166 MB / 425.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.2149, allocations: 0.8846 MB / 426.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.2165, allocations: 2.7 MB / 429.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2166, allocations: 3.938 kB / 429.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2166, allocations: 0 / 429.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.349e-05/0.2166, allocations: 0 / 429.3 MB, free: 9.824 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.002589/0.2192, allocations: 2.143 MB / 431.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2193, allocations: 8.031 kB / 431.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.2254, allocations: 1.741 MB / 433.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.2268, allocations: 0.8862 MB / 434.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.2269, allocations: 85.94 kB / 434.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.2271, allocations: 99.91 kB / 434.3 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005077/0.2322, allocations: 5.126 MB / 439.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2323, allocations: 19.81 kB / 439.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.2325, allocations: 59.91 kB / 439.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002448/0.2349, allocations: 1.252 MB / 440.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007232/0.2422, allocations: 4.488 MB / 445.2 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/0.2641, allocations: 20.66 MB / 465.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.2665, allocations: 1.666 MB / 467.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.2677, allocations: 0.7647 MB / 468.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.2678, allocations: 93.05 kB / 468.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.2679, allocations: 42.55 kB / 468.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 2.985e-06/0.2679, allocations: 0 / 468.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=96): time 0.06569/0.3336, allocations: 12.57 MB / 481 MB, free: 4.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.3337, allocations: 136.5 kB / 481.2 MB, free: 4.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.3373, allocations: 2.409 MB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.3375, allocations: 37.7 kB / 483.6 MB, free: 1.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.3388, allocations: 1.729 MB / 485.3 MB, free: 156 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.3393, allocations: 399.1 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009997/0.3403, allocations: 0.8052 MB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3405, allocations: 353.9 kB / 486.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.3426, allocations: 1.343 MB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0043/0.3469, allocations: 3.957 MB / 492.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007243/0.3542, allocations: 5.671 MB / 497.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-05/0.3543, allocations: 28 kB / 497.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06752/0.4218, allocations: 14.62 MB / 0.5005 GB, free: 2.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.924e-05/0.4219, allocations: 44.94 kB / 0.5005 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.422, allocations: 95.98 kB / 0.5006 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004493/0.4265, allocations: 1.458 MB / 0.502 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1726/0.5992, allocations: 0.8598 MB / 0.5029 GB, free: 90.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.6022, allocations: 1.902 MB / 0.5047 GB, free: 90.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.6052, allocations: 0.6004 MB / 0.5053 GB, free: 89.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.6056, allocations: 252.8 kB / 0.5056 GB, free: 89.93 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.001177/0.6068, allocations: 1.164 MB / 0.5067 GB, free: 89.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.607, allocations: 190.4 kB / 0.5069 GB, free: 89.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004296/0.6113, allocations: 1.889 MB / 0.5087 GB, free: 88.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000663/0.612, allocations: 130.9 kB / 0.5089 GB, free: 88.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.612, allocations: 2.297 kB / 0.5089 GB, free: 88.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.612, allocations: 6.938 kB / 0.5089 GB, free: 88.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007625/0.6197, allocations: 3.851 MB / 0.5126 GB, free: 87.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.6197, allocations: 0 / 0.5126 GB, free: 87.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.62, allocations: 86.67 kB / 0.5127 GB, free: 87.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003595/0.6236, allocations: 1.344 MB / 0.514 GB, free: 87.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.6237, allocations: 30.3 kB / 0.5141 GB, free: 87.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.6257, allocations: 1.742 MB / 0.5158 GB, free: 86.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6257, allocations: 1.969 kB / 0.5158 GB, free: 86.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.6288, allocations: 2.297 MB / 0.518 GB, free: 85.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.6293, allocations: 396.2 kB / 0.5184 GB, free: 84.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.6296, allocations: 11.72 kB / 0.5184 GB, free: 84.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.6303, allocations: 65.86 kB / 0.5184 GB, free: 84.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.6304, allocations: 46.38 kB / 0.5185 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/0.6305, allocations: 26.22 kB / 0.5185 GB, free: 84.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.6321, allocations: 1.485 MB / 0.52 GB, free: 83.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6321, allocations: 0 / 0.52 GB, free: 83.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002407/0.6345, allocations: 0.592 MB / 0.5205 GB, free: 82.89 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.0003546/0.6349, allocations: 171.9 kB / 0.5207 GB, free: 82.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004464/0.6393, allocations: 3.19 MB / 0.5238 GB, free: 79.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6394, allocations: 0 / 0.5238 GB, free: 79.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6405, allocations: 0.7664 MB / 0.5246 GB, free: 78.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6417, allocations: 187 kB / 0.5248 GB, free: 78.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.6471, allocations: 4.665 MB / 0.5293 GB, free: 73.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.6481, allocations: 1.864 MB / 0.5311 GB, free: 72.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.6485, allocations: 163.4 kB / 0.5313 GB, free: 71.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6485, allocations: 4 kB / 0.5313 GB, free: 71.89 MB / 382.1 MB Notification: Performance of Templates: time 0.03914/0.6877, allocations: 39.35 MB / 0.5697 GB, free: 32.58 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)