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.001296/0.001296, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001306/0.001306, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04108/0.04108, allocations: 7.991 MB / 299.1 MB, free: 7.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.89 kB / 362 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1982, allocations: 51.21 MB / 413.2 MB, free: 26.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.004836/0.2031, allocations: 5.635 MB / 418.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.2058, allocations: 2 MB / 420.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.2062, allocations: 16 kB / 420.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.207, allocations: 418 kB / 421.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.2081, allocations: 0.7079 MB / 422 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2083, allocations: 119.7 kB / 422.1 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2094, allocations: 1.58 MB / 423.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.2097, allocations: 330.1 kB / 424 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.2101, allocations: 0.5096 MB / 424.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.2107, allocations: 0.7784 MB / 425.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.2108, allocations: 92 kB / 425.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.2113, allocations: 395.4 kB / 425.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.2116, allocations: 0.7166 MB / 426.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.2121, allocations: 0.8846 MB / 427.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.2136, allocations: 2.85 MB / 430.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2136, allocations: 0 / 430.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2136, allocations: 0 / 430.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.2137, allocations: 4 kB / 430.3 MB, free: 9.543 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.002131/0.2158, allocations: 2.143 MB / 432.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.2158, allocations: 12.03 kB / 432.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.2213, allocations: 1.737 MB / 434.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.2228, allocations: 0.8901 MB / 435 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.2228, allocations: 85.88 kB / 435.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.223, allocations: 107.9 kB / 435.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/0.2277, allocations: 5.122 MB / 440.3 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/0.2278, allocations: 23.75 kB / 440.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.2279, allocations: 55.91 kB / 440.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002144/0.2301, allocations: 1.248 MB / 441.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006429/0.2365, allocations: 4.488 MB / 446.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01929/0.2558, allocations: 20.61 MB / 466.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.2579, allocations: 1.661 MB / 468.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.2589, allocations: 0.749 MB / 469.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.2591, allocations: 96.97 kB / 469.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2591, allocations: 42.61 kB / 469.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.176e-06/0.2591, allocations: 4 kB / 469.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of matching and sorting (n=96): time 0.0599/0.319, allocations: 12.57 MB / 481.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.3191, allocations: 144.4 kB / 482 MB, free: 4.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.322, allocations: 2.401 MB / 484.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.3221, allocations: 37.7 kB / 484.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009738/0.3231, allocations: 1.737 MB / 486.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.3234, allocations: 391.1 kB / 486.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.3243, allocations: 0.8091 MB / 487.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3244, allocations: 357.9 kB / 487.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.3263, allocations: 1.339 MB / 489.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/0.3297, allocations: 3.957 MB / 493 MB, free: 7.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/0.3356, allocations: 5.67 MB / 498.7 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-05/0.3356, allocations: 28 kB / 498.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.05982/0.3955, allocations: 14.63 MB / 0.5013 GB, free: 2.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.3956, allocations: 44 kB / 0.5014 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.092e-05/0.3956, allocations: 92 kB / 0.5015 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003986/0.3996, allocations: 1.449 MB / 0.5029 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1535/0.5532, allocations: 0.8645 MB / 0.5037 GB, free: 90.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.5559, allocations: 1.905 MB / 0.5056 GB, free: 90.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.5587, allocations: 0.5904 MB / 0.5062 GB, free: 90 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.559, allocations: 256.8 kB / 0.5064 GB, free: 89.97 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.001141/0.5601, allocations: 1.165 MB / 0.5075 GB, free: 89.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.5603, allocations: 192.2 kB / 0.5077 GB, free: 89.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.5645, allocations: 1.896 MB / 0.5096 GB, free: 88.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000617/0.5652, allocations: 129.9 kB / 0.5097 GB, free: 88.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.5652, allocations: 3.078 kB / 0.5097 GB, free: 88.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.5652, allocations: 4.562 kB / 0.5097 GB, free: 88.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/0.5727, allocations: 3.85 MB / 0.5135 GB, free: 87.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5727, allocations: 1.312 kB / 0.5135 GB, free: 87.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.573, allocations: 88.8 kB / 0.5135 GB, free: 87.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/0.5765, allocations: 1.341 MB / 0.5149 GB, free: 87.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.5766, allocations: 18.2 kB / 0.5149 GB, free: 87.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.5785, allocations: 1.736 MB / 0.5166 GB, free: 86.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5785, allocations: 3.875 kB / 0.5166 GB, free: 86.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.5813, allocations: 2.301 MB / 0.5188 GB, free: 85.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006728/0.582, allocations: 393.6 kB / 0.5192 GB, free: 84.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.5822, allocations: 14.47 kB / 0.5192 GB, free: 84.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/0.5829, allocations: 62.09 kB / 0.5193 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.583, allocations: 51.06 kB / 0.5193 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.5831, allocations: 31.52 kB / 0.5193 GB, free: 84.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.5845, allocations: 1.482 MB / 0.5208 GB, free: 83.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5845, allocations: 4 kB / 0.5208 GB, free: 83.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002413/0.587, allocations: 0.5866 MB / 0.5214 GB, free: 82.64 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.0002912/0.5873, allocations: 168.8 kB / 0.5215 GB, free: 82.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.5908, allocations: 3.066 MB / 0.5245 GB, free: 79.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5908, allocations: 1.688 kB / 0.5245 GB, free: 79.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5919, allocations: 0.7622 MB / 0.5253 GB, free: 78.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.5928, allocations: 179.5 kB / 0.5254 GB, free: 78.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.5974, allocations: 4.384 MB / 0.5297 GB, free: 74.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.5985, allocations: 1.855 MB / 0.5315 GB, free: 72.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001963/0.6005, allocations: 1.275 MB / 0.5328 GB, free: 70.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.6007, allocations: 135.4 kB / 0.5329 GB, free: 70.81 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6007, allocations: 0 / 0.5329 GB, free: 70.81 MB / 382.1 MB Notification: Performance of Templates: time 0.02742/0.6282, allocations: 21.21 MB / 0.5536 GB, free: 49.66 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 cvode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)