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.001824/0.001824, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.002047/0.002047, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04839/0.04839, allocations: 8.01 MB / 299.2 MB, free: 7.113 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 413.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.1004, allocations: 51.22 MB / 465 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007473/0.1079, allocations: 5.635 MB / 470.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.1119, allocations: 2.005 MB / 472.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.1123, allocations: 23.94 kB / 472.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1133, allocations: 418.1 kB / 473.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.115, allocations: 0.7314 MB / 473.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1153, allocations: 111.7 kB / 473.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.1173, allocations: 1.595 MB / 475.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.1177, allocations: 278.2 kB / 475.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.1185, allocations: 0.5096 MB / 476.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.1195, allocations: 0.7706 MB / 477 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.1197, allocations: 92 kB / 477.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000749/0.1204, allocations: 395.4 kB / 477.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007104/0.1211, allocations: 0.7398 MB / 478.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.1219, allocations: 0.8846 MB / 479.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.1254, allocations: 2.874 MB / 482 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1254, allocations: 0 / 482 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1254, allocations: 0 / 482 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.857e-05/0.1255, allocations: 0 / 482 MB, free: 2.473 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.003945/0.1294, allocations: 2.198 MB / 484.2 MB, free: 216 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1295, allocations: 12.03 kB / 484.2 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/0.1366, allocations: 1.75 MB / 486 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.1389, allocations: 0.8979 MB / 486.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.139, allocations: 81.98 kB / 487 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.1393, allocations: 111.9 kB / 487.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00816/0.1474, allocations: 5.107 MB / 492.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.1475, allocations: 23.81 kB / 492.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.1477, allocations: 55.91 kB / 492.2 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/0.1503, allocations: 1.244 MB / 493.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007767/0.1581, allocations: 4.492 MB / 498 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2631/0.4212, allocations: 20.63 MB / 0.5065 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.4234, allocations: 1.598 MB / 0.508 GB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4246, allocations: 0.7028 MB / 0.5087 GB, free: 29.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.4247, allocations: 90.44 kB / 0.5088 GB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.4247, allocations: 45.56 kB / 0.5088 GB, free: 29.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/0.4247, allocations: 0 / 0.5088 GB, free: 29.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06448/0.4892, allocations: 12.55 MB / 0.5211 GB, free: 26.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.4892, allocations: 141.7 kB / 0.5212 GB, free: 26.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.4921, allocations: 2.41 MB / 0.5236 GB, free: 25.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.4922, allocations: 33.7 kB / 0.5236 GB, free: 25.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/0.493, allocations: 1.813 MB / 0.5254 GB, free: 24.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.4932, allocations: 404.9 kB / 0.5258 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007304/0.4939, allocations: 0.8174 MB / 0.5266 GB, free: 23.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.494, allocations: 357.3 kB / 0.5269 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001613/0.4956, allocations: 1.342 MB / 0.5282 GB, free: 22.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.4981, allocations: 3.962 MB / 0.5321 GB, free: 18.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/0.5026, allocations: 5.677 MB / 0.5376 GB, free: 12.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-05/0.5026, allocations: 28.75 kB / 0.5377 GB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06306/0.5657, allocations: 14.61 MB / 0.5519 GB, free: 13.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.5658, allocations: 48 kB / 0.552 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/0.566, allocations: 95.98 kB / 0.5521 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007045/0.573, allocations: 1.455 MB / 0.5535 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/0.5774, allocations: 0.8694 MB / 0.5543 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004568/0.5819, allocations: 1.909 MB / 0.5562 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005085/0.587, allocations: 0.6052 MB / 0.5568 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008717/0.5879, allocations: 255.7 kB / 0.557 GB, free: 8.465 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.002706/0.5906, allocations: 1.167 MB / 0.5582 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.5912, allocations: 198.6 kB / 0.5584 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00783/0.599, allocations: 1.873 MB / 0.5602 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009765/0.6, allocations: 127.8 kB / 0.5603 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.6, allocations: 4 kB / 0.5603 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.6, allocations: 3.938 kB / 0.5603 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.6142, allocations: 3.829 MB / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6142, allocations: 1.688 kB / 0.5641 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.6148, allocations: 83.89 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006221/0.621, allocations: 1.341 MB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.6212, allocations: 19.98 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.6251, allocations: 1.745 MB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6251, allocations: 3.938 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006145/0.6313, allocations: 2.288 MB / 0.5694 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.6325, allocations: 404.7 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.6327, allocations: 8.562 kB / 0.5698 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.634, allocations: 63.89 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.6343, allocations: 39.89 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.6344, allocations: 35.27 kB / 0.5699 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00353/0.6379, allocations: 1.49 MB / 0.5714 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6379, allocations: 0 / 0.5714 GB, free: 9.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00436/0.6423, allocations: 0.5913 MB / 0.572 GB, free: 9.051 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.0004766/0.6428, allocations: 174.4 kB / 0.5721 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005421/0.6482, allocations: 2.951 MB / 0.575 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6482, allocations: 4 kB / 0.575 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.6496, allocations: 0.7108 MB / 0.5757 GB, free: 5.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6509, allocations: 187.4 kB / 0.5759 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007036/0.6579, allocations: 4.439 MB / 0.5802 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.6601, allocations: 1.853 MB / 0.582 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002697/0.6628, allocations: 1.275 MB / 0.5833 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.6631, allocations: 135.4 kB / 0.5834 GB, free: 13.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.6631, allocations: 4 kB / 0.5834 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Templates: time 0.0462/0.7093, allocations: 22.53 MB / 0.6054 GB, free: 6.805 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 -s gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)