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/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 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.001415/0.001415, allocations: 107.9 kB / 16.29 MB, free: 6.43 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.001629/0.001629, allocations: 184.5 kB / 17.22 MB, free: 5.934 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04235/0.04235, allocations: 7.971 MB / 299 MB, free: 7.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 361.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2012, allocations: 51.21 MB / 412.5 MB, free: 26.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.00493/0.2062, allocations: 5.622 MB / 418.1 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.2089, allocations: 2.007 MB / 420.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.2094, allocations: 23.94 kB / 420.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.2102, allocations: 402.1 kB / 420.5 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.2113, allocations: 0.7223 MB / 421.3 MB, free: 17.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2115, allocations: 111.7 kB / 421.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2125, allocations: 1.577 MB / 423 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.2129, allocations: 334.1 kB / 423.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.2132, allocations: 0.5096 MB / 423.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.2138, allocations: 0.7823 MB / 424.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.214, allocations: 92 kB / 424.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.2145, allocations: 395.4 kB / 425.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.2149, allocations: 0.7127 MB / 425.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.2153, allocations: 0.8885 MB / 426.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.217, allocations: 2.85 MB / 429.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2171, allocations: 0 / 429.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2171, allocations: 3.938 kB / 429.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.2171, allocations: 0 / 429.5 MB, free: 9.641 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.002377/0.2195, allocations: 2.139 MB / 431.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2195, allocations: 8.031 kB / 431.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/0.2253, allocations: 1.741 MB / 433.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.2266, allocations: 0.8862 MB / 434.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.2266, allocations: 93.94 kB / 434.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.2268, allocations: 103.9 kB / 434.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.232, allocations: 5.114 MB / 439.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.232, allocations: 19.81 kB / 439.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.2322, allocations: 63.89 kB / 439.7 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002303/0.2345, allocations: 1.24 MB / 440.9 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007245/0.2418, allocations: 4.499 MB / 445.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.2632, allocations: 20.59 MB / 466 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.2654, allocations: 1.669 MB / 467.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.2666, allocations: 0.7529 MB / 468.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/0.2667, allocations: 93.03 kB / 468.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.2667, allocations: 46.61 kB / 468.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.336e-06/0.2668, allocations: 0 / 468.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=96): time 0.0628/0.3296, allocations: 12.57 MB / 481.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.3297, allocations: 136.5 kB / 481.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.333, allocations: 2.413 MB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.3331, allocations: 29.7 kB / 483.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.3343, allocations: 1.737 MB / 485.4 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.3348, allocations: 399.3 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009116/0.3357, allocations: 0.8013 MB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3358, allocations: 353.9 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.3378, allocations: 1.347 MB / 488.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/0.3414, allocations: 3.953 MB / 492.3 MB, free: 7.852 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/0.3477, allocations: 5.676 MB / 498 MB, free: 0.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.849e-05/0.3478, allocations: 24 kB / 498 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06428/0.412, allocations: 14.62 MB / 0.5006 GB, free: 2.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.4122, allocations: 44 kB / 0.5006 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/0.4123, allocations: 100.1 kB / 0.5007 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00434/0.4166, allocations: 1.448 MB / 0.5021 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1942/0.6109, allocations: 0.864 MB / 0.503 GB, free: 90.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.614, allocations: 1.909 MB / 0.5048 GB, free: 90.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/0.617, allocations: 0.5919 MB / 0.5054 GB, free: 90.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004715/0.6175, allocations: 257.3 kB / 0.5057 GB, free: 90.06 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.001682/0.6192, allocations: 1.16 MB / 0.5068 GB, free: 89.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/0.6197, allocations: 192.8 kB / 0.507 GB, free: 89.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004617/0.6243, allocations: 1.896 MB / 0.5088 GB, free: 88.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000724/0.6251, allocations: 124.9 kB / 0.509 GB, free: 88.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.6251, allocations: 1.031 kB / 0.509 GB, free: 88.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.6251, allocations: 8.516 kB / 0.509 GB, free: 88.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008884/0.634, allocations: 3.844 MB / 0.5127 GB, free: 87.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.634, allocations: 5.625 kB / 0.5127 GB, free: 87.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.6344, allocations: 84.45 kB / 0.5128 GB, free: 87.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/0.638, allocations: 1.344 MB / 0.5141 GB, free: 87.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.6381, allocations: 22.48 kB / 0.5141 GB, free: 87.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.6402, allocations: 1.739 MB / 0.5158 GB, free: 86.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6403, allocations: 3.969 kB / 0.5158 GB, free: 86.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.6435, allocations: 2.297 MB / 0.5181 GB, free: 85.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.6442, allocations: 388.6 kB / 0.5185 GB, free: 84.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.6444, allocations: 15.16 kB / 0.5185 GB, free: 84.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/0.6452, allocations: 69.17 kB / 0.5185 GB, free: 84.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.6453, allocations: 46.95 kB / 0.5186 GB, free: 84.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.6454, allocations: 30.06 kB / 0.5186 GB, free: 84.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001761/0.6471, allocations: 1.482 MB / 0.5201 GB, free: 83.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6471, allocations: 0 / 0.5201 GB, free: 83.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002785/0.6499, allocations: 0.588 MB / 0.5206 GB, free: 82.77 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.0003964/0.6503, allocations: 169.6 kB / 0.5208 GB, free: 82.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004091/0.6544, allocations: 3.065 MB / 0.5238 GB, free: 79.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6545, allocations: 0 / 0.5238 GB, free: 79.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6556, allocations: 0.7632 MB / 0.5245 GB, free: 78.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6567, allocations: 196.3 kB / 0.5247 GB, free: 78.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.6619, allocations: 4.371 MB / 0.529 GB, free: 74.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.6631, allocations: 1.854 MB / 0.5308 GB, free: 72.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00206/0.6652, allocations: 1.268 MB / 0.532 GB, free: 71.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.6654, allocations: 139.4 kB / 0.5322 GB, free: 70.95 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6654, allocations: 0 / 0.5322 GB, free: 70.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02997/0.6954, allocations: 22.56 MB / 0.5542 GB, free: 48.45 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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)