Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001694/0.001694, allocations: 84.23 kB / 20.68 MB, free: 1.023 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.002048/0.002048, allocations: 163.9 kB / 23.96 MB, free: 4.145 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.2015/0.2015, allocations: 32.82 MB / 293.5 MB, free: 20 kB / 270.1 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.38e-05, allocations: 2.281 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002939/0.002963, allocations: 1.814 MB / 441.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.00456, allocations: 0.9661 MB / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.004619, allocations: 0 / 442.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.00485, allocations: 71.59 kB / 443 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.005179, allocations: 119.3 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.005568, allocations: 160.7 kB / 443.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.005839, allocations: 207.3 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.005936, allocations: 25.78 kB / 443.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.006096, allocations: 103.7 kB / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.00624, allocations: 87.81 kB / 443.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.006273, allocations: 16 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.00637, allocations: 47.81 kB / 443.7 MB, free: 4.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/0.006463, allocations: 47.81 kB / 443.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.006534, allocations: 47.83 kB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.006802, allocations: 191.4 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006804, allocations: 0 / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006805, allocations: 0 / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.006809, allocations: 4 kB / 444 MB, free: 4.227 MB / 366.1 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.001061/0.00787, allocations: 0.4967 MB / 444.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.007903, allocations: 12.03 kB / 444.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.007964, allocations: 20.8 kB / 444.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.008205, allocations: 173.4 kB / 444.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.008222, allocations: 8.375 kB / 444.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.008252, allocations: 12.36 kB / 444.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.00877, allocations: 142 kB / 444.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.008784, allocations: 3.938 kB / 444.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.0088, allocations: 4 kB / 444.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.008804, allocations: 0 / 444.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.009561, allocations: 167.8 kB / 445 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.009996, allocations: 276.4 kB / 445.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.01081, allocations: 198.3 kB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.0112, allocations: 88.75 kB / 445.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.01122, allocations: 4 kB / 445.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.01175, allocations: 171.2 kB / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.01175, allocations: 0 / 445.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003812/0.01556, allocations: 0.8127 MB / 446.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.01562, allocations: 59.97 kB / 446.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.01587, allocations: 243.2 kB / 446.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.0159, allocations: 29.7 kB / 446.9 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.01599, allocations: 116.1 kB / 447 MB, free: 1.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.01604, allocations: 47.83 kB / 447 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.01613, allocations: 33.7 kB / 447.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.01627, allocations: 338.7 kB / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007785/0.01705, allocations: 227.2 kB / 447.6 MB, free: 400 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.01782, allocations: 229.9 kB / 447.9 MB, free: 160 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1899/0.2077, allocations: 364.4 kB / 448.2 MB, free: 21.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2077, allocations: 0 / 448.2 MB, free: 21.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001645/0.2093, allocations: 0.5043 MB / 448.7 MB, free: 21.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.2094, allocations: 67.12 kB / 448.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2094, allocations: 1.188 kB / 448.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.2094, allocations: 1.125 kB / 448.8 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.2099, allocations: 70.42 kB / 448.9 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2099, allocations: 1.062 kB / 448.9 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.2103, allocations: 62.98 kB / 448.9 MB, free: 21.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2103, allocations: 9.641 kB / 448.9 MB, free: 21.31 MB / 366.1 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 0.0001239/0.2104, allocations: 140.9 kB / 449.1 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.2105, allocations: 18.11 kB / 449.1 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.2121, allocations: 405.9 kB / 449.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2121, allocations: 3.016 kB / 449.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2121, allocations: 0 / 449.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2121, allocations: 0.6094 kB / 449.5 MB, free: 21.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.2138, allocations: 0.6223 MB / 450.1 MB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2138, allocations: 0.75 kB / 450.1 MB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.2142, allocations: 63.92 kB / 450.2 MB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2142, allocations: 1.469 kB / 450.2 MB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.2142, allocations: 6.812 kB / 450.2 MB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2142, allocations: 3.75 kB / 450.2 MB, free: 20.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2142, allocations: 7.891 kB / 450.2 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.2158, allocations: 481.8 kB / 450.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.2158, allocations: 18.66 kB / 450.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.2158, allocations: 3.062 kB / 450.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.2162, allocations: 65.91 kB / 450.7 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.2164, allocations: 50.81 kB / 450.8 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2164, allocations: 4.812 kB / 450.8 MB, free: 20.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2165, allocations: 180 kB / 451 MB, free: 20.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2165, allocations: 3.719 kB / 451 MB, free: 20.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.2168, allocations: 50.77 kB / 451 MB, free: 20.61 MB / 366.1 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.001545/0.2184, allocations: 438 kB / 451.5 MB, free: 20.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.22, allocations: 0.5032 MB / 452 MB, free: 20.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.22, allocations: 4 kB / 452 MB, free: 20.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007725/0.2208, allocations: 179.2 kB / 452.1 MB, free: 20.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.2211, allocations: 46.25 kB / 452.2 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.2221, allocations: 357.2 kB / 452.5 MB, free: 19.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.2222, allocations: 114.2 kB / 452.6 MB, free: 19.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.89e-05/0.2223, allocations: 13.52 kB / 452.7 MB, free: 19.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.2223, allocations: 28.03 kB / 452.7 MB, free: 19.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2223, allocations: 0 / 452.7 MB, free: 19.86 MB / 366.1 MB Notification: Performance of Templates: time 0.00867/0.231, allocations: 3.842 MB / 456.5 MB, free: 19.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.726023092865944] Failed to read output from testmodel.py, exit status != 0: 0.23917555436491966 0.250274426 0.24103146900000003 Calling exit ...