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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 99.64 kB / 18.94 MB, free: 2.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002526/0.002526, allocations: 215.1 kB / 22.25 MB, free: 4.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo): time 0.04625/0.04625, allocations: 8.114 MB / 320.5 MB, free: 11.06 MB / 254.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.2/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 446.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1136, allocations: 55.23 MB / 0.4896 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007384/0.121, allocations: 5.026 MB / 0.4945 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.1253, allocations: 1.912 MB / 0.4963 GB, free: 3.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.1258, allocations: 19.94 kB / 0.4964 GB, free: 3.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.127, allocations: 430 kB / 0.4968 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1287, allocations: 0.7337 MB / 0.4975 GB, free: 2.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1291, allocations: 115.7 kB / 0.4976 GB, free: 1.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.131, allocations: 1.56 MB / 0.4991 GB, free: 392 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.1316, allocations: 365.6 kB / 0.4995 GB, free: 12 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007423/0.1323, allocations: 0.5214 MB / 0.5 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1334, allocations: 0.8407 MB / 0.5008 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.1337, allocations: 95.94 kB / 0.5009 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.1343, allocations: 291.4 kB / 0.5012 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007084/0.135, allocations: 0.7125 MB / 0.5019 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.1357, allocations: 0.6087 MB / 0.5025 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.1389, allocations: 2.835 MB / 0.5052 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1389, allocations: 0 / 0.5052 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1389, allocations: 0 / 0.5052 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.086e-05/0.1389, allocations: 0 / 0.5052 GB, free: 10.09 MB / 382.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.003415/0.1423, allocations: 2.091 MB / 0.5073 GB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1424, allocations: 12.03 kB / 0.5073 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004131/0.1428, allocations: 365.3 kB / 0.5076 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006724/0.1495, allocations: 1.75 MB / 0.5093 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.1516, allocations: 0.849 MB / 0.5102 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.1517, allocations: 85.98 kB / 0.5103 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.152, allocations: 107.9 kB / 0.5104 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2074/0.3594, allocations: 5.105 MB / 0.5153 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/0.3595, allocations: 26.84 kB / 0.5154 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.3597, allocations: 59.39 kB / 0.5154 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002128/0.3618, allocations: 1.24 MB / 0.5166 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/0.3684, allocations: 4.479 MB / 0.521 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/0.3868, allocations: 19.88 MB / 0.5404 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.3888, allocations: 1.148 MB / 0.5415 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.3899, allocations: 0.7001 MB / 0.5422 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/0.39, allocations: 14.83 kB / 0.5422 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.39, allocations: 39.98 kB / 0.5423 GB, free: 8.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 5.01e-06/0.39, allocations: 2.922 kB / 0.5423 GB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05984/0.4498, allocations: 12.49 MB / 0.5545 GB, free: 3.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.4499, allocations: 140.5 kB / 0.5546 GB, free: 3.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.4525, allocations: 2.563 MB / 0.5571 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.4526, allocations: 37.7 kB / 0.5572 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.4537, allocations: 1.807 MB / 0.5589 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.4541, allocations: 415.7 kB / 0.5593 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009583/0.455, allocations: 0.8 MB / 0.5601 GB, free: 13.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4552, allocations: 363 kB / 0.5604 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.4573, allocations: 1.343 MB / 0.5618 GB, free: 11.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/0.4615, allocations: 3.953 MB / 0.5656 GB, free: 6.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007072/0.4686, allocations: 5.686 MB / 0.5712 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.204e-05/0.4687, allocations: 24 kB / 0.5712 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.0666/0.5353, allocations: 14.61 MB / 0.5855 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.5354, allocations: 44 kB / 0.5855 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/0.5355, allocations: 92 kB / 0.5856 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00444/0.5399, allocations: 1.452 MB / 0.587 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.5426, allocations: 0.8655 MB / 0.5879 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.5456, allocations: 1.902 MB / 0.5897 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.5488, allocations: 0.6133 MB / 0.5903 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/0.5492, allocations: 258 kB / 0.5906 GB, free: 11.68 MB / 430.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.001814/0.551, allocations: 1.17 MB / 0.5917 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.5514, allocations: 202.6 kB / 0.5919 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.5564, allocations: 1.866 MB / 0.5937 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000653/0.557, allocations: 127.8 kB / 0.5938 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.557, allocations: 3.938 kB / 0.5938 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.557, allocations: 3.984 kB / 0.5938 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009407/0.5664, allocations: 3.661 MB / 0.5974 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.5665, allocations: 4 kB / 0.5974 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.5669, allocations: 87.83 kB / 0.5975 GB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/0.5711, allocations: 1.347 MB / 0.5988 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.5713, allocations: 16 kB / 0.5988 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/0.5741, allocations: 1.734 MB / 0.6005 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.5741, allocations: 3.938 kB / 0.6005 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.5782, allocations: 2.29 MB / 0.6028 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/0.5792, allocations: 326.3 kB / 0.6031 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.5794, allocations: 19.92 kB / 0.6031 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008243/0.5802, allocations: 59.91 kB / 0.6032 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.5803, allocations: 44.03 kB / 0.6032 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/0.5804, allocations: 39.91 kB / 0.6032 GB, free: 14.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002293/0.5827, allocations: 1.474 MB / 0.6047 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5827, allocations: 0 / 0.6047 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003106/0.5858, allocations: 0.5773 MB / 0.6052 GB, free: 12.51 MB / 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.004687/0.5904, allocations: 2.935 MB / 0.6081 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006165/0.5966, allocations: 2.946 MB / 0.611 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5966, allocations: 4 kB / 0.611 GB, free: 6.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.5981, allocations: 0.7094 MB / 0.6117 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5995, allocations: 187.9 kB / 0.6119 GB, free: 5.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1557/0.7552, allocations: 45.08 MB / 0.6559 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.7569, allocations: 1.263 MB / 0.6571 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00267/0.7595, allocations: 1.279 MB / 0.6584 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.7606, allocations: 0.7805 MB / 0.6591 GB, free: 1.887 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7606, allocations: 4 kB / 0.6591 GB, free: 1.883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/0.8425, allocations: 37.34 MB / 0.6956 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.18, allocations: 0 / 0.6956 GB, free: 12.96 MB / 0.5294 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation_res.csv --start-time 0 --stop-time 6.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00248 VehicleInterfaces_VehicleInterfaces_Roads_Examples_CheckContactCalculation.fmu > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.96510044997558] Failed to read output from testmodel.py, exit status != 0: 14.321619991213083 14.33623044 14.194480014 Calling exit ...