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.007318/0.007318, allocations: 97.77 kB / 15.73 MB, free: 5.602 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.001644/0.001644, allocations: 193.1 kB / 16.68 MB, free: 5.523 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.457/1.457, allocations: 222.9 MB / 240.4 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.05425/0.05425, allocations: 8.013 MB / 298.5 MB, free: 7.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.55 kB / 412.6 MB, free: 23.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09592, allocations: 51.21 MB / 463.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007244/0.1032, allocations: 5.624 MB / 469.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.1068, allocations: 1.998 MB / 471.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.1072, allocations: 16 kB / 471.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009239/0.1081, allocations: 422.1 kB / 471.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.1094, allocations: 0.7079 MB / 472.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1097, allocations: 107.7 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1115, allocations: 1.588 MB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.112, allocations: 330.5 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.1126, allocations: 0.5213 MB / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000956/0.1135, allocations: 0.7744 MB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.1137, allocations: 95.94 kB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007229/0.1145, allocations: 395.4 kB / 476.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006526/0.1151, allocations: 0.7166 MB / 477.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.1159, allocations: 0.8963 MB / 478 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.119, allocations: 2.858 MB / 480.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.119, allocations: 0 / 480.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.119, allocations: 0 / 480.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.119, allocations: 0 / 480.8 MB, free: 2.992 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.003239/0.1223, allocations: 2.202 MB / 483 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1223, allocations: 12.03 kB / 483 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003858/0.1227, allocations: 369.3 kB / 483.4 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006856/0.1296, allocations: 1.75 MB / 485.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.1321, allocations: 0.8977 MB / 486.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/0.1322, allocations: 82 kB / 486.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.1325, allocations: 99.91 kB / 486.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007837/0.1403, allocations: 5.118 MB / 491.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.1404, allocations: 19.81 kB / 491.4 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.1407, allocations: 63.91 kB / 491.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/0.1435, allocations: 1.24 MB / 492.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007807/0.1514, allocations: 4.484 MB / 497.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2416/0.393, allocations: 20.63 MB / 0.5057 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.3954, allocations: 1.669 MB / 0.5073 GB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.3967, allocations: 0.7544 MB / 0.508 GB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.3969, allocations: 86.69 kB / 0.5081 GB, free: 29.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3969, allocations: 51.62 kB / 0.5081 GB, free: 29.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.428e-06/0.3969, allocations: 0 / 0.5081 GB, free: 29.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06335/0.4603, allocations: 12.58 MB / 0.5204 GB, free: 26.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4604, allocations: 142.2 kB / 0.5206 GB, free: 26.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/0.4641, allocations: 2.407 MB / 0.5229 GB, free: 25.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.4643, allocations: 40.3 kB / 0.523 GB, free: 25.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.4653, allocations: 1.809 MB / 0.5247 GB, free: 24.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.4658, allocations: 410.4 kB / 0.5251 GB, free: 23.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/0.4666, allocations: 0.8054 MB / 0.5259 GB, free: 23.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.4667, allocations: 371.3 kB / 0.5263 GB, free: 23.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4683, allocations: 1.339 MB / 0.5276 GB, free: 22.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.4707, allocations: 3.956 MB / 0.5314 GB, free: 18.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.4751, allocations: 5.683 MB / 0.537 GB, free: 12.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.55e-05/0.4751, allocations: 28 kB / 0.537 GB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06027/0.5354, allocations: 14.63 MB / 0.5513 GB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.5356, allocations: 52.72 kB / 0.5513 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.5358, allocations: 99.36 kB / 0.5514 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004573/0.5404, allocations: 1.455 MB / 0.5529 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/0.5437, allocations: 0.8772 MB / 0.5537 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.5467, allocations: 1.902 MB / 0.5556 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.5502, allocations: 0.6048 MB / 0.5562 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/0.5509, allocations: 252 kB / 0.5564 GB, free: 8.266 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.002472/0.5534, allocations: 1.167 MB / 0.5575 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.5539, allocations: 206.6 kB / 0.5577 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/0.5589, allocations: 1.893 MB / 0.5596 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006624/0.5596, allocations: 131.8 kB / 0.5597 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.5596, allocations: 0 / 0.5597 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5597, allocations: 3.984 kB / 0.5597 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009524/0.5692, allocations: 3.845 MB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.5692, allocations: 0 / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.5696, allocations: 87.83 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004245/0.5739, allocations: 1.342 MB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.574, allocations: 22.33 kB / 0.5649 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002729/0.5767, allocations: 1.73 MB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5768, allocations: 0 / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/0.5811, allocations: 2.32 MB / 0.5688 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/0.582, allocations: 399.4 kB / 0.5692 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.5824, allocations: 12 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/0.5833, allocations: 63.89 kB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5834, allocations: 39.47 kB / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.5835, allocations: 27.98 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003046/0.5866, allocations: 1.488 MB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5866, allocations: 0 / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004386/0.591, allocations: 0.5956 MB / 0.5714 GB, free: 8.797 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.005263/0.5963, allocations: 2.955 MB / 0.5743 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005767/0.602, allocations: 3.066 MB / 0.5773 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6021, allocations: 0 / 0.5773 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.6035, allocations: 0.7671 MB / 0.578 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.605, allocations: 186 kB / 0.5782 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1578/0.7628, allocations: 45.11 MB / 0.6222 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/0.7655, allocations: 1.853 MB / 0.6241 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002852/0.7684, allocations: 1.276 MB / 0.6253 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.7697, allocations: 0.7922 MB / 0.6261 GB, free: 13.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7697, allocations: 0 / 0.6261 GB, free: 13.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07736/0.8471, allocations: 39.7 MB / 0.6648 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.19, allocations: 11.86 kB / 0.6649 GB, free: 5.973 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)