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: "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Roads.Examples.CheckContactCalculation,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004746/0.004746, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001186/0.001186, allocations: 199.7 kB / 16.68 MB, free: 5.969 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04141/0.04141, allocations: 8 MB / 298.5 MB, free: 7.109 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.23 kB / 412.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.09011, allocations: 51.22 MB / 463.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.006317/0.09646, allocations: 5.622 MB / 469.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1001, allocations: 2.002 MB / 471.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006647/0.1008, allocations: 20 kB / 471.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1018, allocations: 410 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1034, allocations: 0.7157 MB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1037, allocations: 115.7 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.1056, allocations: 1.589 MB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008119/0.1065, allocations: 325 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008816/0.1074, allocations: 0.5135 MB / 475.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.1084, allocations: 0.7784 MB / 475.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.1087, allocations: 96 kB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.1096, allocations: 399.3 kB / 476.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006377/0.1102, allocations: 0.7205 MB / 477.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008128/0.111, allocations: 0.8808 MB / 477.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.1138, allocations: 2.849 MB / 480.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1138, allocations: 0 / 480.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1138, allocations: 0 / 480.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.474e-05/0.1139, allocations: 0 / 480.8 MB, free: 3.016 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.003544/0.1174, allocations: 2.139 MB / 482.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1175, allocations: 8.031 kB / 482.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004803/0.118, allocations: 369.3 kB / 483.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/0.1244, allocations: 1.741 MB / 485 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.1261, allocations: 0.8935 MB / 485.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.1262, allocations: 85.94 kB / 486 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.1264, allocations: 103.9 kB / 486.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00589/0.1323, allocations: 5.107 MB / 491.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.1324, allocations: 27.75 kB / 491.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.1326, allocations: 59.91 kB / 491.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.1348, allocations: 1.24 MB / 492.6 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006603/0.1414, allocations: 4.488 MB / 497 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.213/0.3544, allocations: 20.6 MB / 0.5055 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.3565, allocations: 1.671 MB / 0.5071 GB, free: 29.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.3577, allocations: 0.7536 MB / 0.5079 GB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.204e-05/0.3578, allocations: 88.45 kB / 0.508 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3578, allocations: 46.39 kB / 0.508 GB, free: 29.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/0.3579, allocations: 7.375 kB / 0.508 GB, free: 29.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05991/0.4178, allocations: 12.56 MB / 0.5203 GB, free: 26.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.4178, allocations: 144.1 kB / 0.5204 GB, free: 26.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.4207, allocations: 2.404 MB / 0.5228 GB, free: 25.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.4208, allocations: 33.33 kB / 0.5228 GB, free: 25.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006082/0.4214, allocations: 1.739 MB / 0.5245 GB, free: 24.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.4216, allocations: 393.7 kB / 0.5249 GB, free: 23.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008554/0.4225, allocations: 0.8021 MB / 0.5257 GB, free: 23.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.4226, allocations: 357.5 kB / 0.526 GB, free: 23.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.4241, allocations: 1.348 MB / 0.5273 GB, free: 22.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.4266, allocations: 3.955 MB / 0.5312 GB, free: 18.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.4304, allocations: 5.683 MB / 0.5367 GB, free: 12.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/0.4305, allocations: 28 kB / 0.5368 GB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.05697/0.4874, allocations: 14.62 MB / 0.551 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.4875, allocations: 48.97 kB / 0.5511 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/0.4876, allocations: 92 kB / 0.5512 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/0.4917, allocations: 1.448 MB / 0.5526 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.4938, allocations: 0.8733 MB / 0.5534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.4964, allocations: 1.906 MB / 0.5553 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.4986, allocations: 0.5906 MB / 0.5559 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/0.4989, allocations: 255.8 kB / 0.5561 GB, free: 8.289 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.001466/0.5004, allocations: 1.167 MB / 0.5573 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.5006, allocations: 193.5 kB / 0.5574 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.5051, allocations: 1.892 MB / 0.5593 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006241/0.5058, allocations: 130.5 kB / 0.5594 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.5058, allocations: 3.938 kB / 0.5594 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.5058, allocations: 3.984 kB / 0.5594 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008113/0.5139, allocations: 3.835 MB / 0.5632 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5139, allocations: 0.7656 kB / 0.5632 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.5143, allocations: 89.58 kB / 0.5632 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.5184, allocations: 1.347 MB / 0.5646 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.5184, allocations: 12 kB / 0.5646 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.5207, allocations: 1.743 MB / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5207, allocations: 8.047 kB / 0.5663 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.5241, allocations: 2.296 MB / 0.5685 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007313/0.5249, allocations: 394.2 kB / 0.5689 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.5251, allocations: 12 kB / 0.5689 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007714/0.5258, allocations: 63.11 kB / 0.569 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.5259, allocations: 43.88 kB / 0.569 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.526, allocations: 28 kB / 0.569 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.5276, allocations: 1.478 MB / 0.5705 GB, free: 9.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5276, allocations: 0 / 0.5705 GB, free: 9.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002121/0.5297, allocations: 0.5982 MB / 0.5711 GB, free: 8.859 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.003852/0.5336, allocations: 2.938 MB / 0.5739 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004033/0.5376, allocations: 3.056 MB / 0.5769 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5376, allocations: 4 kB / 0.5769 GB, free: 2.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.5389, allocations: 0.7676 MB / 0.5777 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000978/0.5399, allocations: 189.1 kB / 0.5779 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1622/0.7021, allocations: 45.02 MB / 0.6218 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/0.7042, allocations: 1.86 MB / 0.6236 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002611/0.7068, allocations: 1.266 MB / 0.6249 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009625/0.7078, allocations: 0.7922 MB / 0.6256 GB, free: 13.63 MB / 478.1 MB Notification: Performance of SimCode: time 2.685e-06/0.7078, allocations: 0 / 0.6256 GB, free: 13.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06818/0.776, allocations: 40.48 MB / 0.6652 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.65, allocations: 10.41 kB / 0.6652 GB, free: 5.387 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation_fmu --startTime=0 --stopTime=6.2 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1)