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.001838/0.001838, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002259/0.002259, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.984 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.04774/0.04774, allocations: 8.113 MB / 320.5 MB, free: 11.27 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.001963/0.001963, allocations: 64.09 kB / 446.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1453, allocations: 55.23 MB / 0.4896 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007993/0.1533, allocations: 5.661 MB / 0.4952 GB, free: 4.859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.1583, allocations: 2.056 MB / 0.4972 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009936/0.1593, allocations: 19.94 kB / 0.4972 GB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.1607, allocations: 446 kB / 0.4976 GB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.1627, allocations: 0.7275 MB / 0.4983 GB, free: 1.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1631, allocations: 115.7 kB / 0.4984 GB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.1652, allocations: 1.554 MB / 0.5 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005336/0.1657, allocations: 369.5 kB / 0.5003 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.1665, allocations: 0.5291 MB / 0.5008 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.1678, allocations: 0.8563 MB / 0.5017 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.168, allocations: 92 kB / 0.5017 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.1689, allocations: 415.3 kB / 0.5021 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008283/0.1697, allocations: 0.7125 MB / 0.5028 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009256/0.1707, allocations: 0.8729 MB / 0.5037 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.1748, allocations: 2.831 MB / 0.5065 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1748, allocations: 3.938 kB / 0.5065 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1748, allocations: 0 / 0.5065 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.521e-05/0.1748, allocations: 0 / 0.5065 GB, free: 9.234 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.004034/0.1789, allocations: 2.101 MB / 0.5085 GB, free: 7.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.1789, allocations: 11.97 kB / 0.5085 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004684/0.1794, allocations: 373.3 kB / 0.5089 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006761/0.1862, allocations: 1.743 MB / 0.5106 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.1888, allocations: 0.8413 MB / 0.5114 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.1889, allocations: 82 kB / 0.5115 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.1892, allocations: 103.9 kB / 0.5116 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3084/0.4976, allocations: 5.109 MB / 0.5166 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.4977, allocations: 23.12 kB / 0.5166 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.4979, allocations: 62.19 kB / 0.5166 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002776/0.5007, allocations: 1.238 MB / 0.5179 GB, free: 24.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008223/0.5089, allocations: 4.486 MB / 0.5222 GB, free: 24.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.5333, allocations: 20.58 MB / 0.5423 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.5357, allocations: 1.143 MB / 0.5435 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.5369, allocations: 0.7043 MB / 0.5441 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.537, allocations: 9.125 kB / 0.5441 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.537, allocations: 42.02 kB / 0.5442 GB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.198e-06/0.537, allocations: 0 / 0.5442 GB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06017/0.5972, allocations: 12.48 MB / 0.5564 GB, free: 2.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.5972, allocations: 144.2 kB / 0.5565 GB, free: 2.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.6003, allocations: 2.412 MB / 0.5589 GB, free: 56 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.6005, allocations: 29.7 kB / 0.5589 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.6022, allocations: 1.811 MB / 0.5607 GB, free: 14.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.6027, allocations: 410.5 kB / 0.5611 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.6037, allocations: 0.8138 MB / 0.5619 GB, free: 13.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.6039, allocations: 345.9 kB / 0.5622 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.6062, allocations: 1.347 MB / 0.5635 GB, free: 11.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004674/0.6109, allocations: 3.953 MB / 0.5674 GB, free: 6.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008256/0.6191, allocations: 5.684 MB / 0.5729 GB, free: 15.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.118e-05/0.6192, allocations: 28 kB / 0.5729 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06508/0.6843, allocations: 14.61 MB / 0.5872 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.807e-05/0.6844, allocations: 44 kB / 0.5872 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.6845, allocations: 92.09 kB / 0.5873 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/0.6892, allocations: 1.456 MB / 0.5888 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.6921, allocations: 0.8691 MB / 0.5896 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.6951, allocations: 1.906 MB / 0.5915 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/0.6986, allocations: 0.6125 MB / 0.5921 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005786/0.6992, allocations: 252 kB / 0.5923 GB, free: 11.25 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.002386/0.7016, allocations: 1.165 MB / 0.5934 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004597/0.702, allocations: 206.7 kB / 0.5936 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/0.7071, allocations: 1.871 MB / 0.5955 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006855/0.7078, allocations: 127.7 kB / 0.5956 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.7078, allocations: 4 kB / 0.5956 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.7078, allocations: 7.922 kB / 0.5956 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009613/0.7174, allocations: 3.807 MB / 0.5993 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.7174, allocations: 288 / 0.5993 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.7178, allocations: 87.89 kB / 0.5994 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/0.7221, allocations: 1.339 MB / 0.6007 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-05/0.7222, allocations: 23.91 kB / 0.6007 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.7251, allocations: 1.74 MB / 0.6024 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7251, allocations: 0 / 0.6024 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/0.7294, allocations: 2.294 MB / 0.6047 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.7305, allocations: 322.3 kB / 0.605 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.7307, allocations: 19.92 kB / 0.605 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/0.7315, allocations: 67.89 kB / 0.6051 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.7316, allocations: 39.92 kB / 0.6051 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.7317, allocations: 24 kB / 0.6051 GB, free: 14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002381/0.7341, allocations: 1.482 MB / 0.6066 GB, free: 12.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7341, allocations: 0 / 0.6066 GB, free: 12.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003324/0.7374, allocations: 0.5773 MB / 0.6071 GB, free: 11.92 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.004966/0.7424, allocations: 2.936 MB / 0.61 GB, free: 8.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00685/0.7492, allocations: 2.949 MB / 0.6129 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.7492, allocations: 0.75 kB / 0.6129 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.7507, allocations: 0.7112 MB / 0.6136 GB, free: 5.309 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.752, allocations: 188.2 kB / 0.6138 GB, free: 5.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.16/0.912, allocations: 45.08 MB / 0.6578 GB, free: 4.656 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002048/0.914, allocations: 1.853 MB / 0.6596 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003024/0.9171, allocations: 1.28 MB / 0.6608 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.9182, allocations: 0.7883 MB / 0.6616 GB, free: 0.707 MB / 494.1 MB Notification: Performance of SimCode: time 2.184e-06/0.9182, allocations: 0 / 0.6616 GB, free: 0.707 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09771/1.016, allocations: 44.61 MB / 0.7052 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/22.94, allocations: 3.125 kB / 0.7052 GB, free: 4.277 MB / 0.5294 GB " [Timeout remaining time 637] (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: 26.230269054001838] Failed to read output from testmodel.py, exit status != 0: 23.080993354000384 23.102230096 22.923642161 Calling exit ...