Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009763/0.009763, allocations: 104.5 kB / 15.74 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 191.8 kB / 16.67 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.221/0.221, allocations: 38.01 MB / 307.9 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 72.55 kB / 433 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1511, allocations: 56.47 MB / 489.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003228/0.1544, allocations: 1.592 MB / 491.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.1551, allocations: 332.8 kB / 491.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.1552, allocations: 4 kB / 491.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.1558, allocations: 447.2 kB / 491.8 MB, free: 3.496 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.1562, allocations: 251.5 kB / 492.1 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1566, allocations: 107.7 kB / 492.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1568, allocations: 151.8 kB / 492.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.157, allocations: 20.16 kB / 492.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1571, allocations: 111.7 kB / 492.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1573, allocations: 207.6 kB / 492.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1574, allocations: 7.938 kB / 492.7 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.1575, allocations: 31.98 kB / 492.7 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1576, allocations: 83.69 kB / 492.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.826e-05/0.1577, allocations: 95.06 kB / 492.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.158, allocations: 251 kB / 493.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.158, allocations: 0 / 493.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.158, allocations: 4 kB / 493.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.158, allocations: 0 / 493.1 MB, free: 2.199 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007384/0.1588, allocations: 0.6219 MB / 493.7 MB, free: 1.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1588, allocations: 19.89 kB / 493.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.1589, allocations: 40.38 kB / 493.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1592, allocations: 292.2 kB / 494.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1592, allocations: 4.375 kB / 494.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1592, allocations: 384 / 494.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1594, allocations: 61.55 kB / 494.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1594, allocations: 4 kB / 494.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1594, allocations: 0 / 494.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1594, allocations: 4 kB / 494.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.1595, allocations: 31.91 kB / 494.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.1601, allocations: 380.7 kB / 494.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1603, allocations: 50.5 kB / 494.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.1604, allocations: 8.859 kB / 494.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1604, allocations: 4.094 kB / 494.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1604, allocations: 38.55 kB / 494.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1604, allocations: 0 / 494.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006324/0.1611, allocations: 227.9 kB / 494.9 MB, free: 268 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1611, allocations: 51.41 kB / 494.9 MB, free: 204 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.1619, allocations: 0.8574 MB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.162, allocations: 29.7 kB / 495.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1622, allocations: 220.1 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1622, allocations: 23.66 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1622, allocations: 13.72 kB / 496.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1624, allocations: 362.8 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.1625, allocations: 19.98 kB / 496.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.1625, allocations: 23.98 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1627, allocations: 40.84 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1627, allocations: 4 kB / 496.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.1629, allocations: 117.1 kB / 496.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1629, allocations: 4 kB / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1629, allocations: 0 / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.163, allocations: 4 kB / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.163, allocations: 8 kB / 496.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.163, allocations: 0 / 496.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.1631, allocations: 15.92 kB / 496.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1631, allocations: 0 / 496.7 MB, free: 14.43 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001842/0.1633, allocations: 213.7 kB / 496.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.1634, allocations: 51.36 kB / 496.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.1634, allocations: 47.41 kB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1635, allocations: 0 / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1635, allocations: 256 / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1635, allocations: 3.938 kB / 497 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.1641, allocations: 466.5 kB / 497.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1641, allocations: 0 / 497.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.1641, allocations: 11.98 kB / 497.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1641, allocations: 4 kB / 497.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1642, allocations: 7.938 kB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1642, allocations: 3.938 kB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1642, allocations: 0 / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1644, allocations: 218.9 kB / 497.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.1645, allocations: 104.6 kB / 497.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1645, allocations: 3.938 kB / 497.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.1646, allocations: 4 kB / 497.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1647, allocations: 7.984 kB / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1647, allocations: 0 / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005797/0.1653, allocations: 0.6472 MB / 498.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1653, allocations: 4 kB / 498.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1655, allocations: 24 kB / 498.4 MB, free: 12.53 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009771/0.1665, allocations: 403.7 kB / 498.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1667, allocations: 51.84 kB / 498.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1668, allocations: 0 / 498.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1668, allocations: 27.97 kB / 498.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1673, allocations: 29.83 kB / 499 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1683, allocations: 0.7716 MB / 499.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.1689, allocations: 0.8182 MB / 0.4888 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.169, allocations: 15.97 kB / 0.4888 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.169, allocations: 15.44 kB / 0.4888 GB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.169, allocations: 0 / 0.4888 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Templates: time 0.005191/0.1742, allocations: 1.475 MB / 0.4903 GB, free: 8.902 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1)