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/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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.0008438/0.0008438, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008755/0.0008754, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.1774/0.1774, allocations: 7.976 MB / 299 MB, free: 3.219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004085, allocations: 11.94 kB / 361.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.105, allocations: 52.21 MB / 414 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007943/0.113, allocations: 8.109 MB / 422.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2022/0.3152, allocations: 2.397 MB / 424.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3167, allocations: 28.94 kB / 424.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009867/0.3177, allocations: 378.9 kB / 424.9 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.3206, allocations: 1.145 MB / 426.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3209, allocations: 98.89 kB / 426.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.3222, allocations: 1.729 MB / 427.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.3226, allocations: 384.8 kB / 428.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.3231, allocations: 0.5006 MB / 428.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008679/0.3239, allocations: 0.8317 MB / 429.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3241, allocations: 61.19 kB / 429.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.3247, allocations: 342.7 kB / 430 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004199/0.3252, allocations: 0.6767 MB / 430.7 MB, free: 33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.3254, allocations: 383.2 kB / 431.1 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3267, allocations: 2.112 MB / 433.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3267, allocations: 3.156 kB / 433.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3268, allocations: 0 / 433.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.3268, allocations: 0 / 433.2 MB, free: 32.71 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.002176/0.329, allocations: 1.806 MB / 435 MB, free: 31.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.329, allocations: 13.92 kB / 435 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003339/0.3294, allocations: 361.5 kB / 435.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00544/0.3348, allocations: 1.784 MB / 437.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.336, allocations: 0.8803 MB / 438 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.3361, allocations: 81.42 kB / 438.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.3363, allocations: 105.1 kB / 438.2 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006087/0.3424, allocations: 5.105 MB / 443.3 MB, free: 29.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.3425, allocations: 25 kB / 443.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.3427, allocations: 60.77 kB / 443.4 MB, free: 29.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001965/0.3446, allocations: 1.239 MB / 444.6 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006634/0.3513, allocations: 4.473 MB / 449.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02017/0.3715, allocations: 20.67 MB / 469.8 MB, free: 30.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.3739, allocations: 1.664 MB / 471.4 MB, free: 29.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3752, allocations: 0.7551 MB / 472.2 MB, free: 28.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3754, allocations: 90.03 kB / 472.3 MB, free: 28.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.3754, allocations: 53.27 kB / 472.3 MB, free: 28.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.3754, allocations: 0 / 472.3 MB, free: 28.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.05692/0.4324, allocations: 12.58 MB / 484.9 MB, free: 24.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.4325, allocations: 138.7 kB / 485 MB, free: 24.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/0.437, allocations: 2.394 MB / 487.4 MB, free: 23.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.4372, allocations: 36.11 kB / 487.5 MB, free: 23.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.4384, allocations: 1.737 MB / 489.2 MB, free: 21.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/0.4389, allocations: 386.7 kB / 489.6 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.4391, allocations: 77.83 kB / 489.7 MB, free: 21.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003607/0.4395, allocations: 0.5321 MB / 490.2 MB, free: 21.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.4417, allocations: 1.327 MB / 491.5 MB, free: 20.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/0.445, allocations: 3.943 MB / 495.5 MB, free: 16.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/0.4481, allocations: 2.211 MB / 497.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.4483, allocations: 25.53 kB / 497.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.009466/0.4577, allocations: 5.34 MB / 0.4913 GB, free: 8.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.023e-05/0.4578, allocations: 44 kB / 0.4913 GB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/0.458, allocations: 100.1 kB / 0.4914 GB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/0.4622, allocations: 1.477 MB / 0.4928 GB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.4648, allocations: 0.8655 MB / 0.4937 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.4676, allocations: 1.914 MB / 0.4955 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.4709, allocations: 0.5836 MB / 0.4961 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005053/0.4714, allocations: 257.7 kB / 0.4964 GB, free: 3.199 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001959/0.4734, allocations: 1.166 MB / 0.4975 GB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/0.4738, allocations: 193.5 kB / 0.4977 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.4783, allocations: 1.897 MB / 0.4995 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005858/0.4789, allocations: 119.8 kB / 0.4997 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.479, allocations: 3.984 kB / 0.4997 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.479, allocations: 7.953 kB / 0.4997 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/0.4876, allocations: 3.849 MB / 0.5034 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.4877, allocations: 4 kB / 0.5034 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.4881, allocations: 83.89 kB / 0.5035 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003929/0.492, allocations: 1.351 MB / 0.5048 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.025e-05/0.4921, allocations: 26.12 kB / 0.5049 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.4946, allocations: 1.732 MB / 0.5065 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4946, allocations: 0 / 0.5065 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.4983, allocations: 2.294 MB / 0.5088 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000838/0.4992, allocations: 390.2 kB / 0.5092 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003683/0.4996, allocations: 24.64 kB / 0.5092 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009041/0.5005, allocations: 63.91 kB / 0.5092 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.5006, allocations: 43.89 kB / 0.5093 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.5007, allocations: 27.94 kB / 0.5093 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002598/0.5033, allocations: 1.47 MB / 0.5107 GB, free: 4.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5033, allocations: 0 / 0.5107 GB, free: 4.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003507/0.5068, allocations: 0.5978 MB / 0.5113 GB, free: 3.754 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004489/0.5113, allocations: 2.925 MB / 0.5142 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005651/0.517, allocations: 3.036 MB / 0.5171 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.517, allocations: 1.531 kB / 0.5172 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.5184, allocations: 0.7512 MB / 0.5179 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.52, allocations: 188.9 kB / 0.5181 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/0.5539, allocations: 17.32 MB / 0.535 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0019/0.5558, allocations: 1.847 MB / 0.5368 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003045/0.5589, allocations: 1.276 MB / 0.538 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.56, allocations: 0.7907 MB / 0.5388 GB, free: 5.461 MB / 414.1 MB Notification: Performance of SimCode: time 2.955e-06/0.56, allocations: 0 / 0.5388 GB, free: 5.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2984/0.8584, allocations: 43.9 MB / 0.5817 GB, free: 119.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.8586, allocations: 230.6 kB / 0.5819 GB, free: 119.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/3.747, allocations: 0 / 0.5819 GB, free: 119.1 MB / 446.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/linux/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) Environment - environmentSimulation: