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.001497/0.001497, allocations: 105 kB / 16.45 MB, free: 6.5 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.001306/0.001306, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.0461/0.0461, allocations: 8.088 MB / 316.9 MB, free: 12.44 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.001928/0.001928, allocations: 71.89 kB / 440.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1466, allocations: 55.19 MB / 496.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.008064/0.1547, allocations: 5.649 MB / 0.49 GB, free: 8.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005306/0.16, allocations: 2.037 MB / 0.492 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.1604, allocations: 19.94 kB / 0.492 GB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.1618, allocations: 434 kB / 0.4924 GB, free: 6.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.1633, allocations: 0.7197 MB / 0.4931 GB, free: 5.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1636, allocations: 115.7 kB / 0.4933 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.1654, allocations: 1.572 MB / 0.4948 GB, free: 3.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004381/0.1659, allocations: 270.2 kB / 0.495 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006183/0.1665, allocations: 0.5174 MB / 0.4956 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.1676, allocations: 0.8564 MB / 0.4964 GB, free: 1.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1677, allocations: 92 kB / 0.4965 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.1684, allocations: 407.3 kB / 0.4969 GB, free: 1.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000714/0.1691, allocations: 0.7202 MB / 0.4976 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009453/0.1701, allocations: 0.8692 MB / 0.4984 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.1738, allocations: 2.831 MB / 0.5012 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1738, allocations: 3.938 kB / 0.5012 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1738, allocations: 3.938 kB / 0.5012 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.1738, allocations: 0 / 0.5012 GB, free: 13.02 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.003587/0.1774, allocations: 2.173 MB / 0.5033 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1775, allocations: 12.03 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004306/0.1779, allocations: 369.3 kB / 0.5037 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/0.1847, allocations: 1.746 MB / 0.5054 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.1863, allocations: 0.8978 MB / 0.5063 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.1863, allocations: 81.98 kB / 0.5063 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.1866, allocations: 103.9 kB / 0.5064 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006946/0.1935, allocations: 5.118 MB / 0.5114 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.1936, allocations: 23.75 kB / 0.5115 GB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.1938, allocations: 55.91 kB / 0.5115 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.1963, allocations: 1.248 MB / 0.5127 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2618/0.458, allocations: 4.482 MB / 0.5171 GB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/0.4807, allocations: 20.64 MB / 0.5373 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.483, allocations: 1.596 MB / 0.5388 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.4843, allocations: 0.6956 MB / 0.5395 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.4844, allocations: 91.39 kB / 0.5396 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4844, allocations: 46.8 kB / 0.5396 GB, free: 9.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.4844, allocations: 0 / 0.5396 GB, free: 9.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06252/0.5469, allocations: 12.55 MB / 0.5519 GB, free: 4.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.547, allocations: 140 kB / 0.552 GB, free: 4.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/0.5503, allocations: 2.409 MB / 0.5544 GB, free: 2.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5504, allocations: 40.97 kB / 0.5544 GB, free: 2.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008134/0.5512, allocations: 1.803 MB / 0.5562 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.5515, allocations: 412.2 kB / 0.5566 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009882/0.5525, allocations: 0.8138 MB / 0.5574 GB, free: 15.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5527, allocations: 357.7 kB / 0.5577 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.5549, allocations: 1.343 MB / 0.559 GB, free: 13.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004734/0.5596, allocations: 3.955 MB / 0.5629 GB, free: 8.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007556/0.5672, allocations: 5.68 MB / 0.5684 GB, free: 1.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-05/0.5672, allocations: 28 kB / 0.5685 GB, free: 1.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06726/0.6345, allocations: 14.6 MB / 0.5827 GB, free: 2.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.6346, allocations: 48.03 kB / 0.5828 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-05/0.6347, allocations: 92 kB / 0.5828 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004504/0.6392, allocations: 1.459 MB / 0.5843 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/0.642, allocations: 0.881 MB / 0.5851 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.6449, allocations: 1.902 MB / 0.587 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.648, allocations: 0.6164 MB / 0.5876 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/0.6484, allocations: 252 kB / 0.5878 GB, free: 13.58 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.001943/0.6503, allocations: 1.171 MB / 0.589 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.6507, allocations: 202.6 kB / 0.5892 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/0.6557, allocations: 1.869 MB / 0.591 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006654/0.6564, allocations: 123.8 kB / 0.5911 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.6564, allocations: 4 kB / 0.5911 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6564, allocations: 3.984 kB / 0.5911 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00889/0.6653, allocations: 3.833 MB / 0.5949 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.6653, allocations: 0 / 0.5949 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.6657, allocations: 79.89 kB / 0.5949 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004318/0.67, allocations: 1.344 MB / 0.5962 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-05/0.6701, allocations: 23.83 kB / 0.5963 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.673, allocations: 1.731 MB / 0.598 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.673, allocations: 0 / 0.598 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/0.677, allocations: 2.289 MB / 0.6002 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006875/0.6777, allocations: 403.3 kB / 0.6006 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.6779, allocations: 11.52 kB / 0.6006 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.6787, allocations: 67.89 kB / 0.6007 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6788, allocations: 39.89 kB / 0.6007 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.6788, allocations: 30.25 kB / 0.6007 GB, free: 264 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00206/0.6809, allocations: 1.489 MB / 0.6022 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6809, allocations: 0 / 0.6022 GB, free: 14.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003029/0.6839, allocations: 0.5753 MB / 0.6027 GB, free: 14.18 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.004634/0.6886, allocations: 2.948 MB / 0.6056 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005251/0.6938, allocations: 2.945 MB / 0.6085 GB, free: 8.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6938, allocations: 4.375 kB / 0.6085 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.6952, allocations: 0.7059 MB / 0.6092 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6963, allocations: 183.1 kB / 0.6094 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1554/0.8517, allocations: 45.03 MB / 0.6533 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.8536, allocations: 1.85 MB / 0.6551 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002735/0.8563, allocations: 1.283 MB / 0.6564 GB, free: 3.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.8574, allocations: 0.7844 MB / 0.6572 GB, free: 3.031 MB / 494.1 MB Notification: Performance of SimCode: time 1.613e-06/0.8574, allocations: 4 kB / 0.6572 GB, free: 3.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09273/0.9502, allocations: 41.1 MB / 0.6973 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/18.83, allocations: 10.58 kB / 0.6973 GB, free: 10.13 MB / 0.5294 GB " [Timeout remaining time 641] (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: 21.73809124699619] Failed to read output from testmodel.py, exit status != 0: 18.950626779987942 18.967898886 18.790690474 Calling exit ...