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.001074/0.001075, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001005/0.001005, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.27/1.27, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04252/0.04252, allocations: 8.007 MB / 299.2 MB, free: 7.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 413.8 MB, free: 22.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07461/0.07582, allocations: 51.21 MB / 465 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006109/0.08196, allocations: 5.626 MB / 470.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.0851, allocations: 2.005 MB / 472.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.08537, allocations: 16 kB / 472.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.08621, allocations: 410.2 kB / 473 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.08749, allocations: 0.7274 MB / 473.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.08773, allocations: 115.6 kB / 473.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.08927, allocations: 1.592 MB / 475.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.08964, allocations: 318.2 kB / 475.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.09012, allocations: 0.5173 MB / 476.3 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008139/0.09094, allocations: 0.7784 MB / 477.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.0911, allocations: 92 kB / 477.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.09171, allocations: 399.4 kB / 477.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.09227, allocations: 0.7166 MB / 478.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000672/0.09295, allocations: 0.8847 MB / 479.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.09541, allocations: 2.87 MB / 482 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.09543, allocations: 0 / 482 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09544, allocations: 0 / 482 MB, free: 2.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.09547, allocations: 0 / 482 MB, free: 2.516 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.002737/0.09821, allocations: 2.202 MB / 484.2 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.09825, allocations: 8.031 kB / 484.2 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006773/0.105, allocations: 1.75 MB / 486 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.1064, allocations: 0.894 MB / 486.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.1064, allocations: 82 kB / 486.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.1067, allocations: 111.9 kB / 487.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005857/0.1125, allocations: 5.111 MB / 492.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.1126, allocations: 23.75 kB / 492.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.1128, allocations: 59.91 kB / 492.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.1151, allocations: 1.244 MB / 493.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006483/0.1216, allocations: 4.488 MB / 498 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1932/0.3148, allocations: 20.63 MB / 0.5065 GB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.3167, allocations: 1.67 MB / 0.5081 GB, free: 30.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3178, allocations: 0.7525 MB / 0.5088 GB, free: 30.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/0.3179, allocations: 90.81 kB / 0.5089 GB, free: 30.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.318, allocations: 42.88 kB / 0.509 GB, free: 30.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.318, allocations: 0 / 0.509 GB, free: 30.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06522/0.3832, allocations: 12.57 MB / 0.5212 GB, free: 27.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3833, allocations: 144.1 kB / 0.5214 GB, free: 27.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.3858, allocations: 2.409 MB / 0.5237 GB, free: 26.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-05/0.3859, allocations: 37.67 kB / 0.5238 GB, free: 26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/0.3865, allocations: 1.811 MB / 0.5255 GB, free: 24.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.3868, allocations: 410.8 kB / 0.5259 GB, free: 24.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006821/0.3875, allocations: 0.8043 MB / 0.5267 GB, free: 23.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.3875, allocations: 365.6 kB / 0.5271 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.3891, allocations: 1.349 MB / 0.5284 GB, free: 22.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.3914, allocations: 3.952 MB / 0.5322 GB, free: 18.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.3957, allocations: 5.683 MB / 0.5378 GB, free: 12.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-05/0.3957, allocations: 32 kB / 0.5378 GB, free: 12.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06333/0.459, allocations: 14.63 MB / 0.5521 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.4591, allocations: 46.34 kB / 0.5521 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-05/0.4592, allocations: 94.84 kB / 0.5522 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/0.4636, allocations: 1.46 MB / 0.5537 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.466, allocations: 0.8694 MB / 0.5545 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.4686, allocations: 1.905 MB / 0.5564 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4712, allocations: 0.6076 MB / 0.557 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002793/0.4715, allocations: 252 kB / 0.5572 GB, free: 8.492 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.001352/0.4729, allocations: 1.173 MB / 0.5583 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.4732, allocations: 198.6 kB / 0.5585 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/0.4779, allocations: 1.896 MB / 0.5604 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4779, allocations: 3.984 kB / 0.5604 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4779, allocations: 0 / 0.5604 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005734/0.4785, allocations: 403.3 kB / 0.5608 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.4787, allocations: 10.25 kB / 0.5608 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.4796, allocations: 64.52 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.4797, allocations: 43.62 kB / 0.5609 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003849/0.4835, allocations: 2.314 MB / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003968/0.4875, allocations: 2.904 MB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001091/0.4886, allocations: 0.722 MB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.4905, allocations: 1.482 MB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of Backend: time 3.01e-07/0.4905, allocations: 4 kB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004797/0.4953, allocations: 2.574 MB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 0.005733/0.501, allocations: 4.787 MB / 0.5753 GB, free: 5.863 MB / 414.1 MB Notification: Performance of Templates: time 0.04152/0.5426, allocations: 26.63 MB / 0.6013 GB, free: 11.29 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)