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.006308/0.006308, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001329/0.001329, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1516/0.1516, allocations: 7.981 MB / 298.5 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 413.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 51.21 MB / 464.3 MB, free: 18.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.005368/0.2583, allocations: 5.627 MB / 469.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.2614, allocations: 1.991 MB / 471.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.2618, allocations: 23.34 kB / 471.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.2627, allocations: 409.9 kB / 472.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.2641, allocations: 0.7177 MB / 473 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.2644, allocations: 107.8 kB / 473.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.2661, allocations: 1.586 MB / 474.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.2665, allocations: 329.4 kB / 475.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.2672, allocations: 0.517 MB / 475.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009179/0.2681, allocations: 0.7725 MB / 476.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.2684, allocations: 91.62 kB / 476.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.2691, allocations: 394.8 kB / 476.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005982/0.2698, allocations: 0.72 MB / 477.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.2704, allocations: 0.8857 MB / 478.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.2729, allocations: 2.855 MB / 481.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2729, allocations: 1.062 kB / 481.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2729, allocations: 0 / 481.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.761e-05/0.273, allocations: 0 / 481.3 MB, free: 8.527 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.003278/0.2763, allocations: 2.147 MB / 483.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.2763, allocations: 9 kB / 483.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006738/0.2831, allocations: 1.737 MB / 485.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.2849, allocations: 0.8888 MB / 486.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.2849, allocations: 83.39 kB / 486.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.2852, allocations: 106 kB / 486.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006508/0.2917, allocations: 5.116 MB / 491.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.2918, allocations: 24.91 kB / 491.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.292, allocations: 57.5 kB / 491.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.2941, allocations: 1.247 MB / 492.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006558/0.3007, allocations: 4.492 MB / 497.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02066/0.3213, allocations: 20.61 MB / 0.5057 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.3235, allocations: 1.665 MB / 0.5073 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.3246, allocations: 0.7607 MB / 0.508 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3247, allocations: 89.19 kB / 0.5081 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3248, allocations: 50.48 kB / 0.5082 GB, free: 4.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.008e-06/0.3248, allocations: 112 / 0.5082 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06162/0.3864, allocations: 12.57 MB / 0.5204 GB, free: 7.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/0.3866, allocations: 136.5 kB / 0.5206 GB, free: 7.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0046/0.3912, allocations: 2.405 MB / 0.5229 GB, free: 5.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.3914, allocations: 37.69 kB / 0.5229 GB, free: 5.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.3927, allocations: 1.737 MB / 0.5246 GB, free: 3.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.3933, allocations: 391.2 kB / 0.525 GB, free: 3.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.3943, allocations: 0.8091 MB / 0.5258 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3945, allocations: 353.9 kB / 0.5261 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.3965, allocations: 1.343 MB / 0.5275 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/0.4, allocations: 3.953 MB / 0.5313 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006119/0.4062, allocations: 5.683 MB / 0.5369 GB, free: 4.305 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-05/0.4062, allocations: 28 kB / 0.5369 GB, free: 4.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06401/0.4702, allocations: 14.62 MB / 0.5512 GB, free: 5.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.4704, allocations: 44 kB / 0.5512 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/0.4706, allocations: 93.19 kB / 0.5513 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004414/0.475, allocations: 1.464 MB / 0.5527 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/0.4778, allocations: 0.8616 MB / 0.5536 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.4806, allocations: 1.923 MB / 0.5554 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/0.4839, allocations: 0.5916 MB / 0.556 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006474/0.4846, allocations: 251.9 kB / 0.5563 GB, free: 384 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.002201/0.4868, allocations: 1.167 MB / 0.5574 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.4872, allocations: 193.4 kB / 0.5576 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/0.4919, allocations: 1.889 MB / 0.5594 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006441/0.4925, allocations: 127.8 kB / 0.5596 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4926, allocations: 7.938 kB / 0.5596 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4926, allocations: 7.984 kB / 0.5596 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008251/0.5008, allocations: 3.841 MB / 0.5633 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.5009, allocations: 3.984 kB / 0.5633 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.5012, allocations: 83.89 kB / 0.5634 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004074/0.5053, allocations: 1.339 MB / 0.5647 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.5054, allocations: 19.97 kB / 0.5647 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.5082, allocations: 1.734 MB / 0.5664 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.5082, allocations: 4.031 kB / 0.5664 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/0.5122, allocations: 2.293 MB / 0.5687 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008504/0.513, allocations: 402.1 kB / 0.569 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.5133, allocations: 15.98 kB / 0.5691 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.5141, allocations: 67.89 kB / 0.5691 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5142, allocations: 31.95 kB / 0.5692 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.5143, allocations: 31.98 kB / 0.5692 GB, free: 2.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002322/0.5166, allocations: 1.482 MB / 0.5706 GB, free: 1.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5166, allocations: 3.938 kB / 0.5706 GB, free: 1.457 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003154/0.5198, allocations: 0.5812 MB / 0.5712 GB, free: 0.875 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.0004305/0.5202, allocations: 175 kB / 0.5714 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004922/0.5252, allocations: 3.064 MB / 0.5744 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5252, allocations: 0 / 0.5744 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.5266, allocations: 0.7622 MB / 0.5751 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5279, allocations: 193.8 kB / 0.5753 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.5347, allocations: 4.387 MB / 0.5796 GB, free: 8.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/0.5364, allocations: 1.851 MB / 0.5814 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002469/0.5389, allocations: 1.271 MB / 0.5826 GB, free: 5.109 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.5391, allocations: 135.4 kB / 0.5828 GB, free: 4.977 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5392, allocations: 0 / 0.5828 GB, free: 4.977 MB / 462.1 MB Notification: Performance of Templates: time 0.2406/0.7798, allocations: 22.46 MB / 0.6047 GB, free: 111 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)