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.001406/0.001406, allocations: 104.3 kB / 16.41 MB, free: 6.492 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.001274/0.001274, allocations: 185.6 kB / 17.34 MB, free: 5.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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04087/0.04087, allocations: 7.996 MB / 299.2 MB, free: 7.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.91 kB / 413.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.0996, allocations: 51.22 MB / 465 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006515/0.1062, allocations: 5.62 MB / 470.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.1101, allocations: 2.005 MB / 472.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.1107, allocations: 20 kB / 472.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.1118, allocations: 406.1 kB / 473 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1134, allocations: 0.7275 MB / 473.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.1137, allocations: 115.7 kB / 473.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.1155, allocations: 1.588 MB / 475.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.116, allocations: 334.1 kB / 475.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.1166, allocations: 0.5135 MB / 476.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009716/0.1176, allocations: 0.7784 MB / 477.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.1178, allocations: 92 kB / 477.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.1186, allocations: 395.4 kB / 477.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005874/0.1192, allocations: 0.7205 MB / 478.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007342/0.1199, allocations: 0.8808 MB / 479.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.1227, allocations: 2.848 MB / 482 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1227, allocations: 0 / 482 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1227, allocations: 0 / 482 MB, free: 2.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.704e-05/0.1228, allocations: 0 / 482 MB, free: 2.496 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.003309/0.1261, allocations: 2.143 MB / 484.1 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1261, allocations: 12.03 kB / 484.1 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006513/0.1327, allocations: 1.737 MB / 485.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.1344, allocations: 0.9015 MB / 486.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/0.1345, allocations: 78 kB / 486.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.1348, allocations: 107.8 kB / 487 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007049/0.1418, allocations: 5.111 MB / 492.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.1419, allocations: 27.73 kB / 492.1 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.1421, allocations: 63.91 kB / 492.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.1445, allocations: 1.24 MB / 493.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007733/0.1523, allocations: 4.484 MB / 497.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3047/0.4571, allocations: 20.6 MB / 0.5063 GB, free: 30.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.4594, allocations: 1.667 MB / 0.508 GB, free: 29.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.4606, allocations: 0.7552 MB / 0.5087 GB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.4608, allocations: 95.08 kB / 0.5088 GB, free: 29.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4608, allocations: 39.09 kB / 0.5088 GB, free: 29.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.018e-06/0.4608, allocations: 2.938 kB / 0.5088 GB, free: 29.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05944/0.5203, allocations: 12.56 MB / 0.5211 GB, free: 26.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.5204, allocations: 140.9 kB / 0.5212 GB, free: 26.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.5235, allocations: 2.407 MB / 0.5236 GB, free: 25.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.5237, allocations: 37.45 kB / 0.5236 GB, free: 25.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.5245, allocations: 1.73 MB / 0.5253 GB, free: 24.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.5247, allocations: 394.3 kB / 0.5257 GB, free: 23.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/0.5255, allocations: 0.8108 MB / 0.5265 GB, free: 23.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.5256, allocations: 348.8 kB / 0.5268 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.5272, allocations: 1.346 MB / 0.5281 GB, free: 22.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.5297, allocations: 3.961 MB / 0.532 GB, free: 18.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004852/0.5346, allocations: 5.681 MB / 0.5375 GB, free: 12.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-05/0.5347, allocations: 24 kB / 0.5376 GB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.05682/0.5915, allocations: 14.62 MB / 0.5518 GB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.5916, allocations: 47.94 kB / 0.5519 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.753e-05/0.5917, allocations: 92 kB / 0.552 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/0.5959, allocations: 1.457 MB / 0.5534 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.5986, allocations: 0.8655 MB / 0.5542 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.6015, allocations: 1.905 MB / 0.5561 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.6048, allocations: 0.5982 MB / 0.5567 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004994/0.6053, allocations: 256 kB / 0.5569 GB, free: 8.207 MB / 398.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.001768/0.6071, allocations: 1.16 MB / 0.5581 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.6074, allocations: 189.5 kB / 0.5582 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004532/0.6119, allocations: 1.895 MB / 0.5601 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006129/0.6126, allocations: 123.8 kB / 0.5602 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/0.6126, allocations: 8.75 kB / 0.5602 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6126, allocations: 3.984 kB / 0.5602 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008727/0.6214, allocations: 3.848 MB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.6214, allocations: 7.5 kB / 0.564 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.6218, allocations: 87.83 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003909/0.6257, allocations: 1.338 MB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.6259, allocations: 16 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.6284, allocations: 1.742 MB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6284, allocations: 4.031 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/0.6322, allocations: 2.298 MB / 0.5693 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.6331, allocations: 394.2 kB / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.6333, allocations: 12 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.6341, allocations: 67.19 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.6342, allocations: 43.94 kB / 0.5698 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.6342, allocations: 24 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.6364, allocations: 1.482 MB / 0.5713 GB, free: 9.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6364, allocations: 0 / 0.5713 GB, free: 9.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002822/0.6393, allocations: 0.5906 MB / 0.5719 GB, free: 8.789 MB / 414.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.0004264/0.6397, allocations: 177.3 kB / 0.5721 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.645, allocations: 3.061 MB / 0.575 GB, free: 5.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.645, allocations: 4 kB / 0.575 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.6464, allocations: 0.762 MB / 0.5758 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.6478, allocations: 184.3 kB / 0.576 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.6553, allocations: 4.614 MB / 0.5805 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.657, allocations: 1.857 MB / 0.5823 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.6575, allocations: 171.4 kB / 0.5825 GB, free: 13.94 MB / 430.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6575, allocations: 0 / 0.5825 GB, free: 13.94 MB / 430.1 MB Notification: Performance of Templates: time 0.05569/0.7132, allocations: 39.76 MB / 0.6213 GB, free: 6.25 MB / 462.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)