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.001494/0.001494, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001638/0.001638, allocations: 221.5 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 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.04547/0.04547, allocations: 8.098 MB / 321.3 MB, free: 11.34 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: translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") translateModel(VehicleInterfaces.Roads.Examples.CheckContactCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 67.89 kB / 447.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.0981, allocations: 55.24 MB / 0.4909 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007581/0.1057, allocations: 5.668 MB / 0.4964 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.1096, allocations: 2.045 MB / 0.4984 GB, free: 2.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.1102, allocations: 23.94 kB / 0.4984 GB, free: 2.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1113, allocations: 442 kB / 0.4988 GB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.1131, allocations: 0.7352 MB / 0.4996 GB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.1134, allocations: 107.7 kB / 0.4997 GB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.1155, allocations: 1.564 MB / 0.5012 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006421/0.1162, allocations: 369.5 kB / 0.5015 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008103/0.117, allocations: 0.5213 MB / 0.5021 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.1182, allocations: 0.8524 MB / 0.5029 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.1185, allocations: 95.94 kB / 0.503 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008509/0.1194, allocations: 415.3 kB / 0.5034 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007543/0.1201, allocations: 0.7203 MB / 0.5041 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.1212, allocations: 0.869 MB / 0.5049 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.1245, allocations: 2.835 MB / 0.5077 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1245, allocations: 0 / 0.5077 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1245, allocations: 0 / 0.5077 GB, free: 8.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.328e-05/0.1246, allocations: 0 / 0.5077 GB, free: 8.816 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.003884/0.1284, allocations: 2.103 MB / 0.5097 GB, free: 6.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1285, allocations: 12.03 kB / 0.5098 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006411/0.1349, allocations: 1.746 MB / 0.5115 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.1368, allocations: 0.8414 MB / 0.5123 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.1369, allocations: 82 kB / 0.5124 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.1372, allocations: 99.91 kB / 0.5125 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1904/0.3276, allocations: 5.112 MB / 0.5175 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.233e-05/0.3276, allocations: 22.66 kB / 0.5175 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.3278, allocations: 60.17 kB / 0.5175 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.3299, allocations: 1.244 MB / 0.5187 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006664/0.3366, allocations: 4.481 MB / 0.5231 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/0.3549, allocations: 20.58 MB / 0.5432 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.3567, allocations: 1.146 MB / 0.5443 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009751/0.3577, allocations: 0.6987 MB / 0.545 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.25e-05/0.3578, allocations: 13.31 kB / 0.545 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.3578, allocations: 52.55 kB / 0.5451 GB, free: 8.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 2.665e-06/0.3578, allocations: 0 / 0.5451 GB, free: 8.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.05407/0.4119, allocations: 12.47 MB / 0.5573 GB, free: 2.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4119, allocations: 135.2 kB / 0.5574 GB, free: 2.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.4144, allocations: 2.41 MB / 0.5597 GB, free: 228 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.4145, allocations: 37.7 kB / 0.5598 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.4158, allocations: 1.817 MB / 0.5616 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004106/0.4163, allocations: 409 kB / 0.5619 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009793/0.4172, allocations: 0.8138 MB / 0.5627 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4174, allocations: 353.9 kB / 0.5631 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.4196, allocations: 1.344 MB / 0.5644 GB, free: 11.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004274/0.4238, allocations: 3.957 MB / 0.5683 GB, free: 6.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006988/0.4308, allocations: 5.683 MB / 0.5738 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.055e-05/0.4309, allocations: 24 kB / 0.5738 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.061/0.4919, allocations: 14.61 MB / 0.5881 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/0.492, allocations: 44 kB / 0.5881 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.4921, allocations: 96 kB / 0.5882 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/0.4964, allocations: 1.453 MB / 0.5896 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.499, allocations: 0.8694 MB / 0.5905 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.5019, allocations: 1.902 MB / 0.5923 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.5047, allocations: 0.6166 MB / 0.593 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.5051, allocations: 248 kB / 0.5932 GB, free: 11.4 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.001642/0.5067, allocations: 1.171 MB / 0.5943 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.5071, allocations: 202.6 kB / 0.5945 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.5117, allocations: 1.866 MB / 0.5963 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000624/0.5123, allocations: 123.8 kB / 0.5965 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.5123, allocations: 4.281 kB / 0.5965 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.5123, allocations: 7.922 kB / 0.5965 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008741/0.5211, allocations: 3.803 MB / 0.6002 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.5211, allocations: 7.938 kB / 0.6002 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.5215, allocations: 83.83 kB / 0.6003 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/0.5255, allocations: 1.346 MB / 0.6016 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.5256, allocations: 15.98 kB / 0.6016 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002623/0.5282, allocations: 1.735 MB / 0.6033 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5282, allocations: 4.031 kB / 0.6033 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.5321, allocations: 2.286 MB / 0.6055 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/0.5329, allocations: 338.2 kB / 0.6059 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.5331, allocations: 19.92 kB / 0.6059 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.5339, allocations: 63.91 kB / 0.6059 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.534, allocations: 39.92 kB / 0.606 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.534, allocations: 31.98 kB / 0.606 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002087/0.5361, allocations: 1.478 MB / 0.6075 GB, free: 12.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5361, allocations: 0 / 0.6075 GB, free: 12.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002616/0.5387, allocations: 0.5734 MB / 0.608 GB, free: 12.07 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.0003688/0.5391, allocations: 181.6 kB / 0.6082 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005009/0.5441, allocations: 2.952 MB / 0.6111 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5441, allocations: 0 / 0.6111 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.5454, allocations: 0.7151 MB / 0.6118 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5466, allocations: 182.4 kB / 0.6119 GB, free: 8.059 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/0.5536, allocations: 4.694 MB / 0.6165 GB, free: 3.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/0.5553, allocations: 1.858 MB / 0.6183 GB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.5558, allocations: 171.4 kB / 0.6185 GB, free: 1.254 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5558, allocations: 0 / 0.6185 GB, free: 1.254 MB / 446.1 MB Notification: Performance of Templates: time 0.0542/0.61, allocations: 40.31 MB / 0.6579 GB, free: 9.008 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.makefile [Timeout 660] (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 & ./VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckContactCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.034911576891318] Failed to read output from testmodel.py, exit status != 0: 0.6176216148305684 0.632026456 0.504598757 Calling exit ...