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.001528/0.001528, allocations: 111.3 kB / 16.42 MB, free: 6.473 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.001738/0.001738, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04235/0.04235, allocations: 7.992 MB / 299.2 MB, free: 7.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 68.08 kB / 413.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07898, allocations: 51.22 MB / 465 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006475/0.08549, allocations: 5.62 MB / 470.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.08877, allocations: 2.002 MB / 472.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.08907, allocations: 16 kB / 472.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.08995, allocations: 410.1 kB / 473 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.09124, allocations: 0.7314 MB / 473.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.09149, allocations: 107.7 kB / 473.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.09308, allocations: 1.596 MB / 475.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003892/0.09348, allocations: 322.2 kB / 475.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004915/0.09398, allocations: 0.5135 MB / 476.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008498/0.09484, allocations: 0.7823 MB / 477.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.09502, allocations: 92 kB / 477.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.0957, allocations: 395.4 kB / 477.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005404/0.09625, allocations: 0.7205 MB / 478.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006636/0.09692, allocations: 0.8808 MB / 479.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.09948, allocations: 2.87 MB / 482 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.09949, allocations: 0 / 482 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0995, allocations: 0 / 482 MB, free: 2.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.09953, allocations: 4 kB / 482 MB, free: 2.484 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.00282/0.1024, allocations: 2.202 MB / 484.2 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1024, allocations: 8.031 kB / 484.2 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/0.1088, allocations: 1.75 MB / 486 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.1101, allocations: 0.894 MB / 486.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.1102, allocations: 85.98 kB / 486.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.1104, allocations: 107.9 kB / 487.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/0.1162, allocations: 5.107 MB / 492.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.1162, allocations: 23.75 kB / 492.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.1164, allocations: 59.91 kB / 492.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.1187, allocations: 1.244 MB / 493.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006331/0.125, allocations: 4.492 MB / 498 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2038/0.3288, allocations: 20.64 MB / 0.5065 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.3308, allocations: 1.663 MB / 0.5081 GB, free: 29.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3319, allocations: 0.7533 MB / 0.5088 GB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.332, allocations: 88.22 kB / 0.5089 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.332, allocations: 45.25 kB / 0.509 GB, free: 29.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.332, allocations: 0 / 0.509 GB, free: 29.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06128/0.3933, allocations: 12.58 MB / 0.5212 GB, free: 26.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.3934, allocations: 135.8 kB / 0.5214 GB, free: 26.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.3961, allocations: 2.415 MB / 0.5237 GB, free: 25.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.3962, allocations: 36.22 kB / 0.5238 GB, free: 25.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.3968, allocations: 1.807 MB / 0.5255 GB, free: 24.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.3971, allocations: 411.3 kB / 0.5259 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006941/0.3978, allocations: 0.8088 MB / 0.5267 GB, free: 23.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.3979, allocations: 361.4 kB / 0.5271 GB, free: 23.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.3994, allocations: 1.346 MB / 0.5284 GB, free: 22.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.4017, allocations: 3.954 MB / 0.5322 GB, free: 18.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004752/0.4065, allocations: 5.683 MB / 0.5378 GB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.397e-05/0.4066, allocations: 28 kB / 0.5378 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0885/0.4951, allocations: 14.63 MB / 0.5521 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.4952, allocations: 46.19 kB / 0.5521 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.4953, allocations: 97.89 kB / 0.5522 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004351/0.4997, allocations: 1.459 MB / 0.5537 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.5022, allocations: 0.8694 MB / 0.5545 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.505, allocations: 1.905 MB / 0.5564 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.508, allocations: 0.6078 MB / 0.557 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004793/0.5085, allocations: 259.3 kB / 0.5572 GB, free: 8.309 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.001714/0.5102, allocations: 1.161 MB / 0.5583 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.5106, allocations: 202.6 kB / 0.5585 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.5152, allocations: 1.898 MB / 0.5604 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5152, allocations: 7.984 kB / 0.5604 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5152, allocations: 1.688 kB / 0.5604 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.5159, allocations: 403.3 kB / 0.5608 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.5162, allocations: 12 kB / 0.5608 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.5171, allocations: 63.34 kB / 0.5608 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.5172, allocations: 39.94 kB / 0.5609 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004176/0.5214, allocations: 2.311 MB / 0.5631 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004075/0.5255, allocations: 2.914 MB / 0.566 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001117/0.5266, allocations: 0.7158 MB / 0.5667 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002337/0.5289, allocations: 1.486 MB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of Backend: time 5.41e-07/0.529, allocations: 0 / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005515/0.5345, allocations: 2.577 MB / 0.5707 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 0.007323/0.5418, allocations: 4.775 MB / 0.5753 GB, free: 5.688 MB / 414.1 MB Notification: Performance of Templates: time 0.04246/0.5843, allocations: 26.63 MB / 0.6013 GB, free: 11.1 MB / 446.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)