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.0008815/0.0008816, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005421/0.005421, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.5886/0.5886, allocations: 7.981 MB / 299.4 MB, free: 3.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003086, allocations: 11.98 kB / 362.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1106, allocations: 52.2 MB / 414.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.00984/0.1205, allocations: 8.65 MB / 423.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2601/0.3806, allocations: 2.54 MB / 425.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.3825, allocations: 30.19 kB / 425.9 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.3834, allocations: 219.5 kB / 426.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.3856, allocations: 0.6844 MB / 426.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.386, allocations: 101.5 kB / 426.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.3888, allocations: 2.211 MB / 429.1 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.3895, allocations: 405.4 kB / 429.5 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.3902, allocations: 453.9 kB / 429.9 MB, free: 33.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3914, allocations: 0.837 MB / 430.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.3916, allocations: 59.56 kB / 430.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.3925, allocations: 378.3 kB / 431.2 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007064/0.3932, allocations: 0.7152 MB / 431.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008695/0.3941, allocations: 0.8968 MB / 432.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.3966, allocations: 2.641 MB / 435.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3966, allocations: 0 / 435.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.3967, allocations: 0 / 435.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.103e-05/0.3967, allocations: 0 / 435.5 MB, free: 32.3 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.003136/0.3998, allocations: 1.779 MB / 437.2 MB, free: 31.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.3999, allocations: 9.688 kB / 437.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004345/0.4004, allocations: 367.6 kB / 437.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006739/0.4071, allocations: 1.786 MB / 439.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.4091, allocations: 0.8828 MB / 440.3 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.4092, allocations: 87.75 kB / 440.4 MB, free: 30.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.4095, allocations: 107.6 kB / 440.5 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008265/0.4177, allocations: 5.115 MB / 445.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.804e-05/0.4179, allocations: 21.61 kB / 445.6 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.4181, allocations: 59.72 kB / 445.7 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002844/0.421, allocations: 1.242 MB / 446.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008803/0.4298, allocations: 4.487 MB / 451.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02681/0.4566, allocations: 20.68 MB / 472.1 MB, free: 27.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.4599, allocations: 1.667 MB / 473.7 MB, free: 26.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.4618, allocations: 0.7583 MB / 474.5 MB, free: 26.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.462, allocations: 88.92 kB / 474.6 MB, free: 26.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.4621, allocations: 46.86 kB / 474.6 MB, free: 26.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 6.532e-06/0.4621, allocations: 0 / 474.6 MB, free: 26.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.06892/0.5311, allocations: 12.6 MB / 487.2 MB, free: 22.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.5312, allocations: 135.2 kB / 487.4 MB, free: 21.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.5354, allocations: 2.406 MB / 489.8 MB, free: 20.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.5356, allocations: 36.95 kB / 489.8 MB, free: 20.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.5367, allocations: 1.731 MB / 491.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005312/0.5373, allocations: 397.9 kB / 491.9 MB, free: 18.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005303/0.5378, allocations: 338.5 kB / 492.3 MB, free: 18.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.538, allocations: 359.8 kB / 492.6 MB, free: 18.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.5402, allocations: 1.339 MB / 493.9 MB, free: 17.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/0.5435, allocations: 3.953 MB / 497.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/0.5505, allocations: 5.683 MB / 0.4918 GB, free: 5.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.5506, allocations: 28 kB / 0.4918 GB, free: 5.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06785/0.6185, allocations: 14.61 MB / 0.5061 GB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.6186, allocations: 57.8 kB / 0.5061 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/0.6188, allocations: 92 kB / 0.5062 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004376/0.6232, allocations: 1.467 MB / 0.5076 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.6258, allocations: 0.8772 MB / 0.5085 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.6285, allocations: 1.899 MB / 0.5104 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.6324, allocations: 0.5889 MB / 0.5109 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007798/0.6332, allocations: 257.5 kB / 0.5112 GB, free: 1.484 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.00217/0.6354, allocations: 1.167 MB / 0.5123 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.6358, allocations: 193.5 kB / 0.5125 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/0.6406, allocations: 1.898 MB / 0.5144 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006687/0.6413, allocations: 125 kB / 0.5145 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6413, allocations: 3.938 kB / 0.5145 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.6413, allocations: 11.92 kB / 0.5145 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009448/0.6508, allocations: 3.851 MB / 0.5183 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6508, allocations: 4 kB / 0.5183 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.6512, allocations: 84.17 kB / 0.5183 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004444/0.6556, allocations: 1.353 MB / 0.5197 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.6558, allocations: 24.78 kB / 0.5197 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.6591, allocations: 1.73 MB / 0.5214 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.6591, allocations: 4.031 kB / 0.5214 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/0.6649, allocations: 2.305 MB / 0.5236 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.6663, allocations: 398.1 kB / 0.524 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006367/0.667, allocations: 11.94 kB / 0.524 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.6683, allocations: 70.09 kB / 0.5241 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.6684, allocations: 44.64 kB / 0.5241 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.636e-05/0.6685, allocations: 24.94 kB / 0.5241 GB, free: 4.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003839/0.6724, allocations: 1.486 MB / 0.5256 GB, free: 2.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6724, allocations: 0 / 0.5256 GB, free: 2.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004016/0.6764, allocations: 0.5841 MB / 0.5262 GB, free: 2.012 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.00481/0.6813, allocations: 2.961 MB / 0.5291 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005978/0.6872, allocations: 3.05 MB / 0.532 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6873, allocations: 0 / 0.532 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.689, allocations: 0.7544 MB / 0.5328 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.691, allocations: 185.2 kB / 0.533 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1688/0.8598, allocations: 47.34 MB / 0.5792 GB, free: 7.656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.8617, allocations: 1.851 MB / 0.581 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003027/0.8647, allocations: 1.273 MB / 0.5822 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.8658, allocations: 0.7882 MB / 0.583 GB, free: 3.707 MB / 462.1 MB Notification: Performance of SimCode: time 1.452e-06/0.8658, allocations: 0 / 0.583 GB, free: 3.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5022/1.368, allocations: 39.2 MB / 0.6213 GB, free: 136.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.368, allocations: 246.4 kB / 0.6215 GB, free: 136.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.805, allocations: 1.25 kB / 0.6215 GB, free: 136.1 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)