Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006817/0.006817, allocations: 102 kB / 15.73 MB, free: 6.039 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.001401/0.001401, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.595/1.595, 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.2377/0.2377, 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.001855/0.001855, allocations: 79.89 kB / 433 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1674, allocations: 56.47 MB / 489.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.004009/0.1715, allocations: 1.58 MB / 491.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006394/0.1722, allocations: 324.8 kB / 491.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.1722, allocations: 3.938 kB / 491.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.1728, allocations: 459.1 kB / 491.8 MB, free: 3.484 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.0003856/0.1732, allocations: 247.5 kB / 492.1 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1735, allocations: 103.7 kB / 492.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1738, allocations: 151.8 kB / 492.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1739, allocations: 20.17 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.174, allocations: 115.7 kB / 492.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.1743, allocations: 203.6 kB / 492.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1743, allocations: 4 kB / 492.7 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.1744, allocations: 35.98 kB / 492.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1745, allocations: 83.69 kB / 492.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.1746, allocations: 103 kB / 492.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1749, allocations: 247 kB / 493.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.175, allocations: 0 / 493.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.175, allocations: 0 / 493.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.175, allocations: 0 / 493.1 MB, free: 2.195 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.0007576/0.1757, allocations: 0.6297 MB / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1758, allocations: 11.89 kB / 493.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.1759, allocations: 44.38 kB / 493.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1762, allocations: 284.2 kB / 494.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1763, allocations: 8.375 kB / 494.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1763, allocations: 8.359 kB / 494.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1765, allocations: 57.61 kB / 494.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1765, allocations: 3.938 kB / 494.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1765, allocations: 0 / 494.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1765, allocations: 3.938 kB / 494.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1766, allocations: 27.92 kB / 494.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.1772, allocations: 392.6 kB / 494.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.1775, allocations: 42.5 kB / 494.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.1776, allocations: 20.94 kB / 494.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.1777, allocations: 0 / 494.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1777, allocations: 34.56 kB / 494.7 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1777, allocations: 0 / 494.7 MB, free: 492 kB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007222/0.1784, allocations: 223.9 kB / 494.9 MB, free: 260 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1785, allocations: 55.41 kB / 494.9 MB, free: 192 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.1793, allocations: 0.8613 MB / 495.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1793, allocations: 25.7 kB / 495.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1795, allocations: 216.1 kB / 496 MB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1796, allocations: 19.66 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1796, allocations: 25.7 kB / 496.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1798, allocations: 358.8 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.1799, allocations: 15.98 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.1799, allocations: 19.98 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.18, allocations: 48.83 kB / 496.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1801, allocations: 0 / 496.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.1803, allocations: 117.1 kB / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1803, allocations: 4 kB / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1803, allocations: 0 / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1803, allocations: 0 / 496.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.1804, allocations: 15.98 kB / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1804, allocations: 0 / 496.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.1805, allocations: 11.94 kB / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1805, allocations: 0 / 496.7 MB, free: 14.42 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.0002086/0.1807, allocations: 217.7 kB / 496.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.1808, allocations: 43.44 kB / 496.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.1808, allocations: 55.39 kB / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1809, allocations: 0 / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1809, allocations: 0 / 497 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1809, allocations: 7.875 kB / 497 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.1814, allocations: 454.7 kB / 497.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1814, allocations: 8 kB / 497.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.1815, allocations: 8 kB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1815, allocations: 0 / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1815, allocations: 7.938 kB / 497.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1815, allocations: 3.984 kB / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1816, allocations: 0 / 497.4 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1818, allocations: 210.9 kB / 497.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.1819, allocations: 112.6 kB / 497.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.182, allocations: 7.938 kB / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.1821, allocations: 7.984 kB / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1821, allocations: 0 / 497.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1821, allocations: 4.281 kB / 497.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.1827, allocations: 0.6472 MB / 498.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.1827, allocations: 0 / 498.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.183, allocations: 27.98 kB / 498.4 MB, free: 12.52 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.0009629/0.184, allocations: 415.6 kB / 498.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1842, allocations: 51.84 kB / 498.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1842, allocations: 0 / 498.9 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/0.1843, allocations: 23.98 kB / 498.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1847, allocations: 33.75 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1858, allocations: 0.7677 MB / 499.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.1863, allocations: 0.8221 MB / 0.4888 GB, free: 10.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.1864, allocations: 7.984 kB / 0.4888 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.1864, allocations: 11.44 kB / 0.4888 GB, free: 10.37 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1864, allocations: 0 / 0.4888 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Templates: time 0.005307/0.1917, allocations: 1.471 MB / 0.4903 GB, free: 8.898 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1)