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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 110.5 kB / 17.08 MB, free: 5.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 189.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.1727/0.1727, allocations: 7.981 MB / 305.9 MB, free: 3 MB / 238.1 MB " [Timeout remaining time 180] Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.002083/0.002083, allocations: 56.05 kB / 422.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 51.22 MB / 473.7 MB, free: 20.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckContactCalculation): time 0.007072/0.2927, allocations: 5.621 MB / 479.3 MB, free: 16.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.2969, allocations: 1.997 MB / 481.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009012/0.2978, allocations: 23.34 kB / 481.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.299, allocations: 405.5 kB / 481.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.3009, allocations: 0.7181 MB / 482.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.3012, allocations: 111.3 kB / 482.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.3033, allocations: 1.588 MB / 484.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.3038, allocations: 328.6 kB / 484.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007666/0.3046, allocations: 0.5088 MB / 485 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009052/0.3055, allocations: 0.7773 MB / 485.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.3058, allocations: 91.09 kB / 485.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008479/0.3066, allocations: 394.9 kB / 486.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.3072, allocations: 0.7208 MB / 487 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007105/0.3079, allocations: 0.8851 MB / 487.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.3111, allocations: 2.866 MB / 490.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3111, allocations: 0 / 490.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3111, allocations: 3.938 kB / 490.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.937e-05/0.3112, allocations: 5.156 kB / 490.7 MB, free: 9.398 MB / 350.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.00402/0.3152, allocations: 2.197 MB / 492.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3153, allocations: 9.75 kB / 492.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.3221, allocations: 1.756 MB / 494.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.3242, allocations: 0.9009 MB / 495.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/0.3243, allocations: 79.72 kB / 495.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.3246, allocations: 106.6 kB / 495.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006981/0.3316, allocations: 5.114 MB / 0.4891 GB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.3316, allocations: 19.81 kB / 0.4891 GB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.3318, allocations: 63.89 kB / 0.4892 GB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/0.334, allocations: 1.24 MB / 0.4904 GB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008098/0.3421, allocations: 4.499 MB / 0.4948 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02648/0.3686, allocations: 20.63 MB / 0.515 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.3714, allocations: 1.669 MB / 0.5166 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3729, allocations: 0.7567 MB / 0.5173 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.3731, allocations: 89.11 kB / 0.5174 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.3731, allocations: 54.48 kB / 0.5175 GB, free: 4.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.769e-06/0.3732, allocations: 7.938 kB / 0.5175 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.06338/0.4365, allocations: 12.57 MB / 0.5297 GB, free: 7.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4367, allocations: 132.5 kB / 0.5299 GB, free: 7.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003886/0.4406, allocations: 2.413 MB / 0.5322 GB, free: 4.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.4408, allocations: 33.89 kB / 0.5323 GB, free: 4.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.4423, allocations: 1.808 MB / 0.534 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000549/0.4428, allocations: 416.8 kB / 0.5344 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.4439, allocations: 0.8099 MB / 0.5352 GB, free: 1.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.4442, allocations: 353.9 kB / 0.5356 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.4465, allocations: 1.347 MB / 0.5369 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/0.4511, allocations: 3.961 MB / 0.5407 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007935/0.4591, allocations: 5.679 MB / 0.5463 GB, free: 3.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.4592, allocations: 28 kB / 0.5463 GB, free: 3.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.06796/0.5272, allocations: 14.64 MB / 0.5606 GB, free: 5.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.5274, allocations: 44 kB / 0.5606 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/0.5276, allocations: 92 kB / 0.5607 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00467/0.5323, allocations: 1.452 MB / 0.5622 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.5352, allocations: 0.8733 MB / 0.563 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.5384, allocations: 1.9 MB / 0.5649 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/0.5422, allocations: 0.6128 MB / 0.5655 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008717/0.5431, allocations: 260 kB / 0.5657 GB, free: 15.77 MB / 446.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.002735/0.5459, allocations: 1.163 MB / 0.5668 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005384/0.5464, allocations: 198.6 kB / 0.567 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/0.5517, allocations: 1.889 MB / 0.5689 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007108/0.5525, allocations: 123.8 kB / 0.569 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.5525, allocations: 7.938 kB / 0.569 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.5525, allocations: 3.984 kB / 0.569 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.5629, allocations: 3.842 MB / 0.5728 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.563, allocations: 0 / 0.5728 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.5634, allocations: 91.88 kB / 0.5728 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/0.5676, allocations: 1.339 MB / 0.5742 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/0.5678, allocations: 16 kB / 0.5742 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/0.5706, allocations: 1.741 MB / 0.5759 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5707, allocations: 0 / 0.5759 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/0.5751, allocations: 2.305 MB / 0.5781 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.5761, allocations: 411.3 kB / 0.5785 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.5766, allocations: 12 kB / 0.5785 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5777, allocations: 75.86 kB / 0.5786 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5778, allocations: 43.89 kB / 0.5786 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.5779, allocations: 27.98 kB / 0.5787 GB, free: 2.328 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003103/0.581, allocations: 1.482 MB / 0.5801 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5811, allocations: 0 / 0.5801 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003688/0.5848, allocations: 0.589 MB / 0.5807 GB, free: 244 kB / 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.0005833/0.5854, allocations: 170.9 kB / 0.5809 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00633/0.5917, allocations: 3.083 MB / 0.5839 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5917, allocations: 0 / 0.5839 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.5934, allocations: 0.7583 MB / 0.5846 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.5953, allocations: 179.1 kB / 0.5848 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/0.6051, allocations: 4.681 MB / 0.5893 GB, free: 7.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002422/0.6076, allocations: 1.856 MB / 0.5912 GB, free: 5.441 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.6082, allocations: 171.4 kB / 0.5913 GB, free: 5.273 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6082, allocations: 0 / 0.5913 GB, free: 5.273 MB / 462.1 MB Notification: Performance of Templates: time 0.3301/0.9383, allocations: 39.75 MB / 0.6301 GB, free: 99.77 MB / 462.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: 10.088378743035719] Failed to read output from testmodel.py, exit status != 0: 0.9459817931056023 0.955098645 0.642015353 Calling exit ...