Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.0009169/0.0009169, allocations: 87.62 kB / 21.44 MB, free: 3.133 MB / 18.57 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.004582/0.004582, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.9436/0.9436, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.258/0.258, allocations: 32.79 MB / 294.2 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.726e-05, allocations: 11.98 kB / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002229/0.002256, allocations: 1.821 MB / 442.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003476, allocations: 0.9933 MB / 443.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.003553, allocations: 3.938 kB / 443.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.003798, allocations: 63.66 kB / 443.7 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.004115, allocations: 131.3 kB / 443.9 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.004497, allocations: 204 kB / 444.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.004734, allocations: 207.3 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.004831, allocations: 17.8 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.004958, allocations: 111.7 kB / 444.4 MB, free: 188 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.005074, allocations: 91.75 kB / 444.5 MB, free: 96 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.005096, allocations: 12 kB / 444.5 MB, free: 84 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.005175, allocations: 51.88 kB / 444.5 MB, free: 32 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1885/0.1937, allocations: 42.03 kB / 444.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1938, allocations: 42.23 kB / 444.6 MB, free: 44.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1942, allocations: 197.6 kB / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1942, allocations: 3.812 kB / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1942, allocations: 0 / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1942, allocations: 0 / 444.8 MB, free: 44.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006729/0.1948, allocations: 0.5051 MB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1949, allocations: 10.84 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1949, allocations: 23.58 kB / 445.4 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1951, allocations: 182 kB / 445.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1951, allocations: 8.938 kB / 445.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1951, allocations: 3.719 kB / 445.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.1954, allocations: 149.5 kB / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1954, allocations: 0 / 445.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1954, allocations: 4.938 kB / 445.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1954, allocations: 3 kB / 445.7 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.1957, allocations: 170.3 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1961, allocations: 341.7 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1965, allocations: 193.4 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1967, allocations: 95.05 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1967, allocations: 6.156 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.197, allocations: 170.1 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.197, allocations: 0 / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001739/0.1988, allocations: 0.8389 MB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.1988, allocations: 57.5 kB / 447.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1989, allocations: 245.5 kB / 447.8 MB, free: 42.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1989, allocations: 34.67 kB / 447.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.199, allocations: 122.2 kB / 448 MB, free: 42.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.199, allocations: 43.39 kB / 448 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1991, allocations: 35.91 kB / 448 MB, free: 42.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.505e-05/0.1991, allocations: 337.3 kB / 448.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.1994, allocations: 225 kB / 448.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.1998, allocations: 234.7 kB / 448.8 MB, free: 42.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.2004, allocations: 385.7 kB / 449.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2004, allocations: 0 / 449.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006966/0.2011, allocations: 0.5136 MB / 449.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2011, allocations: 63.36 kB / 449.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2011, allocations: 0 / 449.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2011, allocations: 6.719 kB / 449.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.2013, allocations: 72.17 kB / 449.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2013, allocations: 0 / 449.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2015, allocations: 66.3 kB / 449.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2015, allocations: 9.375 kB / 449.9 MB, free: 42.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.805e-05/0.2016, allocations: 136.6 kB / 450 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.2016, allocations: 20.23 kB / 450.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/0.2023, allocations: 429.7 kB / 450.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2023, allocations: 2.875 kB / 450.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2023, allocations: 4 kB / 450.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2023, allocations: 0 / 450.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.2031, allocations: 0.64 MB / 451.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2031, allocations: 0 / 451.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2033, allocations: 70.39 kB / 451.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2034, allocations: 0 / 451.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2034, allocations: 6.078 kB / 451.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2034, allocations: 0 / 451.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2034, allocations: 0 / 451.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2044, allocations: 499.6 kB / 451.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.2044, allocations: 20.91 kB / 451.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.2045, allocations: 5.75 kB / 451.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.2048, allocations: 62.38 kB / 451.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2049, allocations: 46.39 kB / 451.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2049, allocations: 9.031 kB / 451.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.205, allocations: 185.7 kB / 452 MB, free: 41.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.205, allocations: 4 kB / 452 MB, free: 41.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.2053, allocations: 50.08 kB / 452.1 MB, free: 41.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008856/0.2062, allocations: 424.2 kB / 452.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.2074, allocations: 0.5246 MB / 453 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2074, allocations: 0 / 453 MB, free: 40.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.2077, allocations: 182.9 kB / 453.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.208, allocations: 32.75 kB / 453.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.2086, allocations: 402.7 kB / 453.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.2086, allocations: 120 kB / 453.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.2087, allocations: 24.73 kB / 453.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2087, allocations: 2.969 kB / 453.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of Templates: time 0.003348/0.2121, allocations: 3.375 MB / 457.1 MB, free: 40.29 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.323600576259196] Failed to read output from testmodel.py, exit status != 0: 0.21744185779243708 0.22719809600000002 0.031328196 Calling exit ...