Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.232/0.232, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3635, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003836/0.3673, allocations: 1.88 MB / 0.5631 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3693, allocations: 1.037 MB / 0.5641 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.3694, allocations: 4 kB / 0.5641 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.3697, allocations: 63.72 kB / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.37, allocations: 119.4 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.3705, allocations: 163.2 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.3708, allocations: 195.4 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3709, allocations: 24.34 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.371, allocations: 79.69 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.3712, allocations: 107.6 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.3712, allocations: 20 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.3713, allocations: 40 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.3714, allocations: 43.81 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.3715, allocations: 71.59 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.3718, allocations: 179.3 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3718, allocations: 0 / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3718, allocations: 0 / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3718, allocations: 0 / 0.5651 GB, free: 1.023 MB / 398.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.001261/0.3731, allocations: 0.5836 MB / 0.5657 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3731, allocations: 8.031 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.3732, allocations: 20.8 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3735, allocations: 236 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3735, allocations: 4.375 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3735, allocations: 8.375 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.3741, allocations: 145.8 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3741, allocations: 4 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3741, allocations: 4 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3741, allocations: 0 / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.3749, allocations: 163.8 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.3754, allocations: 372.5 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.3763, allocations: 186.4 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.3767, allocations: 96.75 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.3768, allocations: 3.984 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006585/0.3774, allocations: 171.1 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.3774, allocations: 0 / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.004132/0.3816, allocations: 0.8167 MB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.3816, allocations: 55.41 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.3819, allocations: 248.2 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.382, allocations: 25.7 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3821, allocations: 128.1 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.3821, allocations: 51.77 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3822, allocations: 33.7 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3824, allocations: 338.8 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.3832, allocations: 163.8 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.3839, allocations: 163.8 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.3854, allocations: 370.4 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3854, allocations: 0 / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001737/0.3871, allocations: 456.5 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.3872, allocations: 63.39 kB / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3872, allocations: 0 / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3872, allocations: 0 / 0.5699 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.3877, allocations: 71.84 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3877, allocations: 0 / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.3882, allocations: 75.84 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.3882, allocations: 4 kB / 0.57 GB, free: 11.75 MB / 414.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.0001542/0.3883, allocations: 129.8 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3884, allocations: 23.86 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.39, allocations: 410.7 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.39, allocations: 4 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.39, allocations: 0 / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.39, allocations: 4.5 kB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.392, allocations: 0.6973 MB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.392, allocations: 112 / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.3924, allocations: 75.78 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3924, allocations: 0 / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3924, allocations: 3.938 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3924, allocations: 7.922 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3924, allocations: 4 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.394, allocations: 479 kB / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.3941, allocations: 93 kB / 0.5719 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3941, allocations: 3.938 kB / 0.5719 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.3946, allocations: 67.91 kB / 0.5719 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.3948, allocations: 43.94 kB / 0.572 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3948, allocations: 8 kB / 0.572 GB, free: 9.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.395, allocations: 179.2 kB / 0.5722 GB, free: 9.438 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.395, allocations: 3.938 kB / 0.5722 GB, free: 9.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3953, allocations: 51.92 kB / 0.5722 GB, free: 9.383 MB / 414.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.00155/0.3969, allocations: 405.8 kB / 0.5726 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.3986, allocations: 462.3 kB / 0.573 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3986, allocations: 0 / 0.573 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.3994, allocations: 171.8 kB / 0.5732 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3998, allocations: 46.62 kB / 0.5732 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4009, allocations: 366.5 kB / 0.5736 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.4014, allocations: 0.7278 MB / 0.5743 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.4015, allocations: 21.41 kB / 0.5743 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.4016, allocations: 19.44 kB / 0.5743 GB, free: 7.262 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4016, allocations: 4 kB / 0.5743 GB, free: 7.258 MB / 414.1 MB Notification: Performance of Templates: time 0.008216/0.4098, allocations: 3.642 MB / 0.5779 GB, free: 3.625 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.366008332930505] Failed to read output from testmodel.py, exit status != 0: 0.41846069879829884 0.432686744 0.057700480000000005 Calling exit ...