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.007713/0.007713, allocations: 97.47 kB / 15.73 MB, free: 6.055 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.001805/0.001806, allocations: 194.8 kB / 16.67 MB, free: 5.977 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1608/0.1608, allocations: 7.979 MB / 298.5 MB, free: 2.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 413.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3032, allocations: 51.2 MB / 464.3 MB, free: 18.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006971/0.3102, allocations: 5.628 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.3147, allocations: 1.989 MB / 471.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007315/0.3155, allocations: 22.41 kB / 471.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3165, allocations: 414.1 kB / 472.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.3183, allocations: 0.7127 MB / 473 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.3186, allocations: 109.1 kB / 473.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.3209, allocations: 1.586 MB / 474.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.3214, allocations: 337.2 kB / 475.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.3221, allocations: 0.5166 MB / 475.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.3232, allocations: 0.7736 MB / 476.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.3234, allocations: 91.5 kB / 476.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009378/0.3244, allocations: 394.3 kB / 476.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007548/0.3251, allocations: 0.7157 MB / 477.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.3259, allocations: 0.8858 MB / 478.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.3297, allocations: 2.867 MB / 481.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3297, allocations: 0 / 481.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3297, allocations: 0 / 481.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.904e-05/0.3298, allocations: 1.062 kB / 481.3 MB, free: 8.523 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.004708/0.3345, allocations: 2.205 MB / 483.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.3346, allocations: 9.25 kB / 483.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006853/0.3414, allocations: 1.749 MB / 485.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.3435, allocations: 0.9012 MB / 486.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.3436, allocations: 82.91 kB / 486.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.3439, allocations: 102.4 kB / 486.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/0.3513, allocations: 5.12 MB / 491.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.3514, allocations: 21.72 kB / 491.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/0.3516, allocations: 61.47 kB / 491.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/0.3541, allocations: 1.238 MB / 492.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007944/0.3621, allocations: 4.492 MB / 497.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.3861, allocations: 20.63 MB / 0.5058 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.3885, allocations: 1.671 MB / 0.5074 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.3896, allocations: 0.7646 MB / 0.5081 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.3898, allocations: 93.11 kB / 0.5082 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3898, allocations: 42.44 kB / 0.5083 GB, free: 4.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.779e-06/0.3899, allocations: 4.109 kB / 0.5083 GB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06192/0.4518, allocations: 12.58 MB / 0.5206 GB, free: 7.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.4519, allocations: 136.5 kB / 0.5207 GB, free: 7.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.4558, allocations: 2.41 MB / 0.523 GB, free: 5.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.456, allocations: 37.69 kB / 0.5231 GB, free: 5.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.4573, allocations: 1.808 MB / 0.5248 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.4578, allocations: 412.9 kB / 0.5252 GB, free: 2.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.4589, allocations: 0.806 MB / 0.526 GB, free: 2.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4591, allocations: 357.9 kB / 0.5264 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.4612, allocations: 1.347 MB / 0.5277 GB, free: 320 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/0.4651, allocations: 3.949 MB / 0.5315 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/0.4718, allocations: 5.683 MB / 0.5371 GB, free: 4.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.303e-05/0.4719, allocations: 24 kB / 0.5371 GB, free: 4.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06607/0.538, allocations: 14.64 MB / 0.5514 GB, free: 5.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.5381, allocations: 44 kB / 0.5514 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.5382, allocations: 92.88 kB / 0.5515 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/0.5426, allocations: 1.456 MB / 0.553 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.5454, allocations: 0.8733 MB / 0.5538 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.5481, allocations: 1.91 MB / 0.5557 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003468/0.5516, allocations: 0.6089 MB / 0.5563 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007118/0.5523, allocations: 260.2 kB / 0.5565 GB, free: 104 kB / 430.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.001849/0.5542, allocations: 1.165 MB / 0.5577 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.5546, allocations: 198.6 kB / 0.5578 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.5592, allocations: 1.897 MB / 0.5597 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006638/0.5599, allocations: 123.8 kB / 0.5598 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.5599, allocations: 7.938 kB / 0.5598 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5599, allocations: 3.984 kB / 0.5598 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008723/0.5686, allocations: 3.842 MB / 0.5636 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.5687, allocations: 4 kB / 0.5636 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.5691, allocations: 83.89 kB / 0.5637 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004111/0.5732, allocations: 1.343 MB / 0.565 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.682e-05/0.5733, allocations: 19.98 kB / 0.565 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.5759, allocations: 1.73 MB / 0.5667 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5759, allocations: 0 / 0.5667 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.5798, allocations: 2.311 MB / 0.5689 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.5806, allocations: 415.3 kB / 0.5693 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.581, allocations: 15.98 kB / 0.5694 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.5819, allocations: 63.91 kB / 0.5694 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.582, allocations: 39.94 kB / 0.5695 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.5821, allocations: 24 kB / 0.5695 GB, free: 2.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002348/0.5844, allocations: 1.486 MB / 0.5709 GB, free: 1.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5844, allocations: 7.875 kB / 0.5709 GB, free: 1.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002907/0.5873, allocations: 0.589 MB / 0.5715 GB, free: 0.5664 MB / 446.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.0004116/0.5878, allocations: 170.9 kB / 0.5717 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004977/0.5927, allocations: 3.074 MB / 0.5747 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5928, allocations: 0 / 0.5747 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.5941, allocations: 0.7583 MB / 0.5754 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5954, allocations: 183.8 kB / 0.5756 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007077/0.6024, allocations: 4.449 MB / 0.5799 GB, free: 7.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.6042, allocations: 1.855 MB / 0.5817 GB, free: 6.012 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00257/0.6068, allocations: 1.271 MB / 0.583 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6071, allocations: 135.4 kB / 0.5831 GB, free: 4.602 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6071, allocations: 0 / 0.5831 GB, free: 4.602 MB / 462.1 MB Notification: Performance of Templates: time 0.2653/0.8725, allocations: 22.45 MB / 0.605 GB, free: 110.8 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)