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.000791/0.000791, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007854/0.0007854, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8686/0.8686, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02684/0.02684, allocations: 6.192 MB / 265.4 MB, free: 7.297 MB / 250.7 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 1.523e-06/1.523e-06, allocations: 0 / 391 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.599e-05, allocations: 2.281 kB / 391 MB, free: 5.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.005034/0.00505, allocations: 5.038 MB / 396.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.008882, allocations: 1.908 MB / 398 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.009635, allocations: 23.94 kB / 398 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.01063, allocations: 433.9 kB / 398.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.01207, allocations: 0.7464 MB / 399.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.01231, allocations: 123.5 kB / 399.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.0139, allocations: 1.595 MB / 400.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.01461, allocations: 381.4 kB / 401.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008193/0.01543, allocations: 0.748 MB / 402 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/0.0163, allocations: 0.822 MB / 402.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.01646, allocations: 92 kB / 402.9 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006576/0.01712, allocations: 327.4 kB / 403.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.01755, allocations: 0.732 MB / 404 MB, free: 8.602 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.01795, allocations: 434.2 kB / 404.4 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.02013, allocations: 2.759 MB / 407.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.02013, allocations: 0 / 407.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.02013, allocations: 0 / 407.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.86e-05/0.0202, allocations: 4 kB / 407.1 MB, free: 5.402 MB / 330.7 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.002834/0.02303, allocations: 2.064 MB / 409.2 MB, free: 3.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.02308, allocations: 12.03 kB / 409.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.02335, allocations: 365.3 kB / 409.6 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/0.02721, allocations: 1.793 MB / 411.4 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.02831, allocations: 0.8526 MB / 412.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.02836, allocations: 90.12 kB / 412.3 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.02851, allocations: 99.91 kB / 412.4 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1881/0.2166, allocations: 5.105 MB / 417.5 MB, free: 28.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.2167, allocations: 20.56 kB / 417.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.2168, allocations: 58.67 kB / 417.6 MB, free: 28.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001908/0.2187, allocations: 1.225 MB / 418.8 MB, free: 28.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006326/0.2251, allocations: 4.475 MB / 423.3 MB, free: 26.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.2369, allocations: 19.92 MB / 443.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.2381, allocations: 1.129 MB / 444.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005981/0.2387, allocations: 0.6903 MB / 445 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.2387, allocations: 12 kB / 445 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2388, allocations: 58.17 kB / 445.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.286e-06/0.2388, allocations: 0 / 445.1 MB, free: 9.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.0307/0.2695, allocations: 12.48 MB / 457.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.2696, allocations: 143.1 kB / 457.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/0.2724, allocations: 2.562 MB / 460.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.2724, allocations: 33.7 kB / 460.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.2734, allocations: 1.779 MB / 462.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.2737, allocations: 407.8 kB / 462.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/0.2745, allocations: 0.7937 MB / 463.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2746, allocations: 357.6 kB / 463.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2762, allocations: 1.339 MB / 465 MB, free: 5.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/0.279, allocations: 3.953 MB / 468.9 MB, free: 284 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.2841, allocations: 5.679 MB / 474.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/0.2842, allocations: 28 kB / 474.6 MB, free: 9.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.03356/0.3177, allocations: 14.61 MB / 489.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.3178, allocations: 48.06 kB / 489.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/0.3178, allocations: 96 kB / 489.4 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.3206, allocations: 1.446 MB / 490.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.322, allocations: 0.8733 MB / 491.7 MB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.3238, allocations: 1.91 MB / 493.6 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.3257, allocations: 0.6089 MB / 494.2 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.3259, allocations: 252 kB / 494.5 MB, free: 5.387 MB / 378.7 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.001223/0.3271, allocations: 1.163 MB / 495.6 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.3273, allocations: 202.6 kB / 495.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.3304, allocations: 1.862 MB / 497.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003057/0.3307, allocations: 111.8 kB / 497.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-05/0.3307, allocations: 3.938 kB / 497.8 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.3307, allocations: 3.984 kB / 497.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.3356, allocations: 3.672 MB / 0.4897 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3356, allocations: 4 kB / 0.4897 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.3358, allocations: 83.89 kB / 0.4898 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/0.338, allocations: 1.346 MB / 0.4911 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.338, allocations: 16 kB / 0.4911 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.34, allocations: 1.736 MB / 0.4928 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.34, allocations: 0 / 0.4928 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.3423, allocations: 2.294 MB / 0.4951 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.3427, allocations: 326.2 kB / 0.4954 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3428, allocations: 20.92 kB / 0.4954 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.3433, allocations: 59.91 kB / 0.4955 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.3433, allocations: 47.84 kB / 0.4955 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3434, allocations: 27.98 kB / 0.4955 GB, free: 8.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001409/0.3448, allocations: 1.482 MB / 0.497 GB, free: 6.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3448, allocations: 0 / 0.497 GB, free: 6.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001863/0.3466, allocations: 0.5734 MB / 0.4975 GB, free: 6.219 MB / 394.7 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.003471/0.3501, allocations: 2.935 MB / 0.5004 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.3536, allocations: 2.951 MB / 0.5033 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3536, allocations: 0 / 0.5033 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.3544, allocations: 0.7119 MB / 0.504 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/0.3552, allocations: 195.3 kB / 0.5042 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08382/0.439, allocations: 44.89 MB / 0.548 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.4402, allocations: 1.273 MB / 0.5493 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00192/0.4421, allocations: 1.268 MB / 0.5505 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007277/0.4428, allocations: 0.7854 MB / 0.5513 GB, free: 11.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4428, allocations: 0 / 0.5513 GB, free: 11.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2329/0.6758, allocations: 37.46 MB / 0.5878 GB, free: 156 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.8, allocations: 6.547 kB / 0.5878 GB, free: 156 MB / 474.7 MB " [Timeout remaining time 649] (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: 12.712899199686944] Failed to read output from testmodel.py, exit status != 0: 10.90959569811821 10.919005011 10.897197975 Calling exit ...