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.008324/0.008324, allocations: 99.05 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.002114/0.002114, allocations: 201.9 kB / 16.68 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.349/1.349, 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.1545/0.1545, allocations: 7.978 MB / 298.5 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 412.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2489, allocations: 51.22 MB / 463.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.005746/0.2547, allocations: 5.626 MB / 469.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.2581, allocations: 1.996 MB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006676/0.2588, allocations: 18.09 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2598, allocations: 410.8 kB / 471.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.2615, allocations: 0.7376 MB / 472.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.2619, allocations: 108.2 kB / 472.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.2637, allocations: 1.578 MB / 474.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.2642, allocations: 330 kB / 474.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.2649, allocations: 0.5107 MB / 475.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009412/0.2658, allocations: 0.7803 MB / 475.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.266, allocations: 92.75 kB / 476 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007827/0.2668, allocations: 398.7 kB / 476.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006732/0.2675, allocations: 0.7192 MB / 477.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.2683, allocations: 0.8851 MB / 478 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.2709, allocations: 2.846 MB / 480.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2709, allocations: 0 / 480.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2709, allocations: 4 kB / 480.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.799e-05/0.271, allocations: 1.188 kB / 480.8 MB, free: 8.238 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.004091/0.2751, allocations: 2.142 MB / 482.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.2751, allocations: 9.625 kB / 483 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004452/0.2756, allocations: 365.9 kB / 483.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/0.282, allocations: 1.743 MB / 485.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.2839, allocations: 0.8889 MB / 485.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.284, allocations: 83.23 kB / 486 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.2843, allocations: 110.8 kB / 486.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007017/0.2913, allocations: 5.108 MB / 491.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.811e-05/0.2914, allocations: 24.59 kB / 491.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/0.2917, allocations: 69.91 kB / 491.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002088/0.2937, allocations: 1.245 MB / 492.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007146/0.3009, allocations: 4.488 MB / 497.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/0.3227, allocations: 20.61 MB / 0.5055 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.3249, allocations: 1.657 MB / 0.5072 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3261, allocations: 0.7607 MB / 0.5079 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.3263, allocations: 93.03 kB / 0.508 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.3263, allocations: 50.59 kB / 0.508 GB, free: 4.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.3263, allocations: 3.938 kB / 0.508 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05812/0.3844, allocations: 12.56 MB / 0.5203 GB, free: 7.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.3846, allocations: 140.5 kB / 0.5204 GB, free: 7.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.3885, allocations: 2.405 MB / 0.5228 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.3887, allocations: 37.7 kB / 0.5228 GB, free: 4.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.3898, allocations: 1.725 MB / 0.5245 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.3903, allocations: 399.1 kB / 0.5249 GB, free: 2.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.3913, allocations: 0.8092 MB / 0.5257 GB, free: 1.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3915, allocations: 357.9 kB / 0.526 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.3938, allocations: 1.339 MB / 0.5273 GB, free: 96 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/0.3974, allocations: 3.957 MB / 0.5312 GB, free: 10.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/0.4036, allocations: 5.679 MB / 0.5367 GB, free: 3.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.958e-05/0.4037, allocations: 24 kB / 0.5368 GB, free: 3.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06018/0.4639, allocations: 14.62 MB / 0.551 GB, free: 5.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/0.4641, allocations: 45.88 kB / 0.5511 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.4642, allocations: 96 kB / 0.5512 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/0.4685, allocations: 1.457 MB / 0.5526 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.4712, allocations: 0.8655 MB / 0.5535 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.4741, allocations: 1.902 MB / 0.5553 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.4774, allocations: 0.5994 MB / 0.5559 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/0.4781, allocations: 256 kB / 0.5561 GB, free: 15.91 MB / 446.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.002381/0.4805, allocations: 1.16 MB / 0.5573 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.481, allocations: 197.7 kB / 0.5575 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004949/0.4859, allocations: 1.897 MB / 0.5593 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006299/0.4866, allocations: 127.8 kB / 0.5594 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.4866, allocations: 15.92 kB / 0.5594 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4867, allocations: 0 / 0.5594 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.4969, allocations: 3.841 MB / 0.5632 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.4969, allocations: 0 / 0.5632 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004265/0.4973, allocations: 91.77 kB / 0.5633 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004047/0.5014, allocations: 1.332 MB / 0.5646 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/0.5017, allocations: 23.97 kB / 0.5646 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.5043, allocations: 1.734 MB / 0.5663 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5043, allocations: 0 / 0.5663 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.5084, allocations: 2.3 MB / 0.5686 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/0.5093, allocations: 398.1 kB / 0.5689 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/0.5097, allocations: 15.98 kB / 0.5689 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.5108, allocations: 67.89 kB / 0.569 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5109, allocations: 39.95 kB / 0.569 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/0.511, allocations: 27.98 kB / 0.5691 GB, free: 2.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002609/0.5136, allocations: 1.486 MB / 0.5705 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5136, allocations: 0 / 0.5705 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003271/0.5169, allocations: 0.5773 MB / 0.5711 GB, free: 420 kB / 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.004517/0.5214, allocations: 2.959 MB / 0.574 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.5268, allocations: 3.059 MB / 0.577 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5268, allocations: 0 / 0.577 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.5282, allocations: 0.7505 MB / 0.5777 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.5298, allocations: 201 kB / 0.5779 GB, free: 9.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3514/0.8812, allocations: 45.01 MB / 0.6219 GB, free: 95.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8825, allocations: 1.848 MB / 0.6237 GB, free: 93.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002139/0.8846, allocations: 1.276 MB / 0.6249 GB, free: 92.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008512/0.8855, allocations: 0.7883 MB / 0.6257 GB, free: 91.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.8855, allocations: 0 / 0.6257 GB, free: 91.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/0.9421, allocations: 39.7 MB / 0.6644 GB, free: 52.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/18.26, allocations: 10.34 kB / 0.6645 GB, free: 52.23 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)