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.001315/0.001315, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001073/0.001073, allocations: 190.4 kB / 16.25 MB, free: 6.145 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.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1412/0.1412, allocations: 7.985 MB / 298.1 MB, free: 2.242 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 360.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09294, allocations: 51.2 MB / 411.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.009482/0.1025, allocations: 9.121 MB / 420.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.2571, allocations: 2.555 MB / 423.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.2582, allocations: 30.66 kB / 423.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008338/0.2591, allocations: 371.3 kB / 423.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2602, allocations: 0.6658 MB / 424.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2604, allocations: 108.8 kB / 424.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.2615, allocations: 1.62 MB / 425.9 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002934/0.2618, allocations: 344.1 kB / 426.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.2622, allocations: 0.5216 MB / 426.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.2628, allocations: 0.8822 MB / 427.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.2629, allocations: 93.88 kB / 427.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.2634, allocations: 404.4 kB / 428.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000376/0.2637, allocations: 0.7256 MB / 428.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.2642, allocations: 0.9082 MB / 429.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.2657, allocations: 2.731 MB / 432.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2657, allocations: 0 / 432.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2657, allocations: 0 / 432.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.2657, allocations: 0.5625 kB / 432.5 MB, free: 34.39 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.002264/0.268, allocations: 2.146 MB / 434.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.268, allocations: 9.438 kB / 434.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002777/0.2683, allocations: 367.4 kB / 435 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005862/0.2742, allocations: 1.737 MB / 436.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.2754, allocations: 0.8816 MB / 437.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.2755, allocations: 89.66 kB / 437.7 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.2758, allocations: 108.4 kB / 437.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.2803, allocations: 5.111 MB / 442.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.2803, allocations: 25.89 kB / 442.9 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.2805, allocations: 63.38 kB / 443 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.2824, allocations: 1.235 MB / 444.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005253/0.2877, allocations: 4.489 MB / 448.7 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0161/0.3038, allocations: 20.66 MB / 469.4 MB, free: 28.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.3061, allocations: 1.664 MB / 471 MB, free: 27.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3071, allocations: 0.7614 MB / 471.8 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.3073, allocations: 86.2 kB / 471.9 MB, free: 27.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3073, allocations: 37.66 kB / 471.9 MB, free: 27.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/0.3073, allocations: 0 / 471.9 MB, free: 27.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06108/0.3684, allocations: 12.57 MB / 484.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3685, allocations: 146.9 kB / 484.6 MB, free: 23.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.3715, allocations: 2.41 MB / 487.1 MB, free: 22.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.3716, allocations: 39.92 kB / 487.1 MB, free: 22.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.3723, allocations: 1.725 MB / 488.8 MB, free: 20.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.3726, allocations: 397.4 kB / 489.2 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007282/0.3733, allocations: 0.8002 MB / 490 MB, free: 19.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3734, allocations: 356.8 kB / 490.4 MB, free: 19.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.3752, allocations: 1.349 MB / 491.7 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.3776, allocations: 3.957 MB / 495.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.3835, allocations: 5.674 MB / 0.4896 GB, free: 6.773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.973e-05/0.3835, allocations: 28 kB / 0.4896 GB, free: 6.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0658/0.4493, allocations: 14.62 MB / 0.5039 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.4494, allocations: 47.94 kB / 0.5039 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.436e-05/0.4495, allocations: 92 kB / 0.504 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/0.4541, allocations: 1.452 MB / 0.5054 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.4564, allocations: 0.8763 MB / 0.5063 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.4589, allocations: 1.917 MB / 0.5082 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.4618, allocations: 0.5839 MB / 0.5087 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/0.4621, allocations: 252 kB / 0.509 GB, free: 2.871 MB / 382.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.001571/0.4637, allocations: 1.166 MB / 0.5101 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.464, allocations: 197.4 kB / 0.5103 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004467/0.4685, allocations: 1.895 MB / 0.5122 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006468/0.4692, allocations: 123.8 kB / 0.5123 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.4692, allocations: 0 / 0.5123 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.4692, allocations: 11.88 kB / 0.5123 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00854/0.4778, allocations: 3.852 MB / 0.516 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4778, allocations: 0 / 0.516 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.4782, allocations: 83.89 kB / 0.5161 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/0.4822, allocations: 1.346 MB / 0.5174 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.4823, allocations: 15.98 kB / 0.5175 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.4847, allocations: 1.729 MB / 0.5191 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4847, allocations: 64 / 0.5191 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.4882, allocations: 2.306 MB / 0.5214 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006372/0.4889, allocations: 390.2 kB / 0.5218 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.4891, allocations: 14.12 kB / 0.5218 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008025/0.4899, allocations: 71.64 kB / 0.5219 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.49, allocations: 35.95 kB / 0.5219 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.4901, allocations: 31.62 kB / 0.5219 GB, free: 5.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001942/0.492, allocations: 1.486 MB / 0.5234 GB, free: 4.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.492, allocations: 3.938 kB / 0.5234 GB, free: 4.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002546/0.4946, allocations: 0.5871 MB / 0.5239 GB, free: 3.426 MB / 398.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.004137/0.4987, allocations: 2.947 MB / 0.5268 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005176/0.5039, allocations: 3.2 MB / 0.5299 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5039, allocations: 0 / 0.5299 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.5052, allocations: 0.7598 MB / 0.5307 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5065, allocations: 188.2 kB / 0.5309 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1432/0.6497, allocations: 47.31 MB / 0.5771 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.6512, allocations: 1.851 MB / 0.5789 GB, free: 7.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002611/0.6538, allocations: 1.284 MB / 0.5801 GB, free: 5.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/0.6548, allocations: 0.7891 MB / 0.5809 GB, free: 5.004 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6548, allocations: 0 / 0.5809 GB, free: 5.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5333/1.188, allocations: 40.29 MB / 0.6203 GB, free: 140.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.188, allocations: 247.5 kB / 0.6205 GB, free: 140.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/4.106, allocations: 1.828 kB / 0.6205 GB, free: 140.2 MB / 462.1 MB (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)