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.001568/0.001568, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001781/0.001781, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.04932/0.04932, allocations: 8.108 MB / 321.3 MB, free: 11.08 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.002194/0.002194, allocations: 71.89 kB / 447.3 MB, free: 1.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1189, allocations: 55.23 MB / 0.4908 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.009092/0.128, allocations: 5.046 MB / 0.4957 GB, free: 4.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.1331, allocations: 1.901 MB / 0.4976 GB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.1341, allocations: 23.94 kB / 0.4976 GB, free: 2.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.1356, allocations: 430 kB / 0.498 GB, free: 2.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.1381, allocations: 0.7275 MB / 0.4987 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.1386, allocations: 111.7 kB / 0.4988 GB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.1411, allocations: 1.564 MB / 0.5003 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008014/0.1419, allocations: 369.5 kB / 0.5007 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.143, allocations: 0.5213 MB / 0.5012 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1444, allocations: 0.8407 MB / 0.502 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.1447, allocations: 92 kB / 0.5021 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007252/0.1454, allocations: 291.5 kB / 0.5024 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006819/0.1461, allocations: 0.7164 MB / 0.5031 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.1467, allocations: 0.6087 MB / 0.5037 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003048/0.1498, allocations: 2.827 MB / 0.5065 GB, free: 9.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1498, allocations: 0 / 0.5065 GB, free: 9.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1498, allocations: 0 / 0.5065 GB, free: 9.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.825e-05/0.1498, allocations: 4 kB / 0.5065 GB, free: 9.598 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.003494/0.1533, allocations: 2.099 MB / 0.5085 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1534, allocations: 12.03 kB / 0.5085 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007561/0.1609, allocations: 1.743 MB / 0.5102 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.1635, allocations: 0.8492 MB / 0.511 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1636, allocations: 85.94 kB / 0.5111 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.1639, allocations: 107.9 kB / 0.5112 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2362/0.4001, allocations: 5.109 MB / 0.5162 GB, free: 25.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.4001, allocations: 25.19 kB / 0.5162 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.4003, allocations: 56.25 kB / 0.5163 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002195/0.4025, allocations: 1.242 MB / 0.5175 GB, free: 25.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/0.4097, allocations: 4.479 MB / 0.5219 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/0.4289, allocations: 19.5 MB / 0.5409 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.431, allocations: 1.142 MB / 0.542 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.4321, allocations: 0.7028 MB / 0.5427 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/0.4322, allocations: 14.34 kB / 0.5427 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4323, allocations: 41.23 kB / 0.5428 GB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.739e-06/0.4323, allocations: 0.5156 kB / 0.5428 GB, free: 9.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.0595/0.4918, allocations: 12.47 MB / 0.555 GB, free: 3.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4918, allocations: 141.5 kB / 0.5551 GB, free: 3.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.4942, allocations: 2.294 MB / 0.5573 GB, free: 1.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.4943, allocations: 37.14 kB / 0.5574 GB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009269/0.4952, allocations: 1.834 MB / 0.5592 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.4956, allocations: 405 kB / 0.5595 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.4967, allocations: 0.8121 MB / 0.5603 GB, free: 14.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4968, allocations: 330 kB / 0.5607 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.499, allocations: 1.343 MB / 0.562 GB, free: 12.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/0.5035, allocations: 3.961 MB / 0.5658 GB, free: 7.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007449/0.5109, allocations: 5.681 MB / 0.5714 GB, free: 340 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.227e-05/0.511, allocations: 28 kB / 0.5714 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06766/0.5787, allocations: 14.59 MB / 0.5857 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.5788, allocations: 47.94 kB / 0.5857 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/0.579, allocations: 96 kB / 0.5858 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004637/0.5836, allocations: 1.446 MB / 0.5872 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.5866, allocations: 0.8733 MB / 0.5881 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.5898, allocations: 1.906 MB / 0.5899 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/0.5932, allocations: 0.578 MB / 0.5905 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007414/0.594, allocations: 255.7 kB / 0.5907 GB, free: 12.48 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.002496/0.5965, allocations: 1.169 MB / 0.5919 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.5969, allocations: 186.8 kB / 0.592 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/0.6018, allocations: 1.844 MB / 0.5938 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000672/0.6025, allocations: 127.8 kB / 0.594 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6025, allocations: 0 / 0.594 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.6025, allocations: 7.922 kB / 0.594 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009601/0.6121, allocations: 3.381 MB / 0.5973 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.6121, allocations: 7.938 kB / 0.5973 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.6125, allocations: 83.89 kB / 0.5974 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004169/0.6167, allocations: 1.337 MB / 0.5987 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6168, allocations: 19.98 kB / 0.5987 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.6195, allocations: 1.74 MB / 0.6004 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6195, allocations: 3.938 kB / 0.6004 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.6237, allocations: 2.27 MB / 0.6026 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/0.6247, allocations: 294.5 kB / 0.6029 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/0.625, allocations: 15.98 kB / 0.6029 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009735/0.626, allocations: 67.83 kB / 0.603 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6261, allocations: 47.92 kB / 0.603 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.6262, allocations: 27.98 kB / 0.603 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002754/0.6289, allocations: 1.284 MB / 0.6043 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6289, allocations: 3.938 kB / 0.6043 GB, free: 14.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003591/0.6325, allocations: 0.6004 MB / 0.6049 GB, free: 13.84 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.0005102/0.633, allocations: 179.4 kB / 0.6051 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006091/0.6391, allocations: 2.944 MB / 0.6079 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6391, allocations: 0 / 0.6079 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.6405, allocations: 0.705 MB / 0.6086 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6419, allocations: 171.2 kB / 0.6088 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008585/0.6505, allocations: 4.682 MB / 0.6134 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.6521, allocations: 1.271 MB / 0.6146 GB, free: 3.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.6526, allocations: 163.4 kB / 0.6148 GB, free: 3.66 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6526, allocations: 0 / 0.6148 GB, free: 3.66 MB / 446.1 MB Notification: Performance of Templates: time 0.05796/0.7106, allocations: 40.09 MB / 0.6539 GB, free: 11.63 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.51275108801201] Failed to read output from testmodel.py, exit status != 0: 0.7194410841912031 0.734259753 0.581188056 Calling exit ...