Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009556/0.009556, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001619/0.001619, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.2176/0.2176, allocations: 38.01 MB / 307.9 MB, free: 5.996 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.001551/0.001551, allocations: 71.89 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1624, allocations: 56.47 MB / 489.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003522/0.166, allocations: 1.541 MB / 491 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.1667, allocations: 324.9 kB / 491.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.1668, allocations: 0 / 491.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.1671, allocations: 23.86 kB / 491.3 MB, free: 3.988 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.0002221/0.1673, allocations: 35.78 kB / 491.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1676, allocations: 67.84 kB / 491.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1677, allocations: 55.78 kB / 491.5 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1679, allocations: 19.98 kB / 491.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.1679, allocations: 23.91 kB / 491.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.168, allocations: 19.86 kB / 491.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.168, allocations: 4 kB / 491.6 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.1681, allocations: 20 kB / 491.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.1682, allocations: 11.98 kB / 491.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1682, allocations: 23.8 kB / 491.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1684, allocations: 79.73 kB / 491.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1685, allocations: 0 / 491.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1685, allocations: 0 / 491.7 MB, free: 3.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1685, allocations: 4 kB / 491.7 MB, free: 3.629 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005892/0.1691, allocations: 371.3 kB / 492.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1691, allocations: 11.89 kB / 492.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1692, allocations: 8.844 kB / 492.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1694, allocations: 184.3 kB / 492.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1694, allocations: 4.312 kB / 492.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1694, allocations: 4.281 kB / 492.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1696, allocations: 49.81 kB / 492.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1696, allocations: 7.938 kB / 492.3 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1696, allocations: 7.938 kB / 492.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1697, allocations: 0 / 492.3 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.1697, allocations: 23.98 kB / 492.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1702, allocations: 276.8 kB / 492.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1704, allocations: 38.56 kB / 492.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.1705, allocations: 24.88 kB / 492.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1705, allocations: 3.984 kB / 492.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1705, allocations: 34.56 kB / 492.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1705, allocations: 0 / 492.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005609/0.1711, allocations: 133.4 kB / 492.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1712, allocations: 55.41 kB / 492.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1713, allocations: 142 kB / 493 MB, free: 2.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1713, allocations: 25.7 kB / 493.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.1714, allocations: 96.12 kB / 493.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1714, allocations: 15.75 kB / 493.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1715, allocations: 17.72 kB / 493.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1716, allocations: 322.8 kB / 493.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.1717, allocations: 23.98 kB / 493.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.655e-05/0.1718, allocations: 11.98 kB / 493.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1719, allocations: 53.02 kB / 493.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1719, allocations: 0 / 493.6 MB, free: 1.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001748/0.1721, allocations: 81.52 kB / 493.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1721, allocations: 4 kB / 493.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1721, allocations: 0 / 493.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1721, allocations: 4 kB / 493.7 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.1722, allocations: 15.98 kB / 493.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1722, allocations: 0 / 493.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.1723, allocations: 4 kB / 493.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1723, allocations: 0 / 493.7 MB, free: 1.387 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: 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.0001101/0.1724, allocations: 129.6 kB / 493.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1724, allocations: 7.906 kB / 493.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.1725, allocations: 12.31 kB / 493.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1725, allocations: 4 kB / 493.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1725, allocations: 0 / 493.9 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1725, allocations: 3.938 kB / 493.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.1729, allocations: 346.5 kB / 494.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1729, allocations: 0 / 494.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.173, allocations: 11.98 kB / 494.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.173, allocations: 3.938 kB / 494.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.173, allocations: 0 / 494.2 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.173, allocations: 7.938 kB / 494.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.173, allocations: 4 kB / 494.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1733, allocations: 183.5 kB / 494.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.1733, allocations: 81.02 kB / 494.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1734, allocations: 0 / 494.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1734, allocations: 7.938 kB / 494.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.1735, allocations: 7.984 kB / 494.5 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1735, allocations: 8 kB / 494.5 MB, free: 492 kB / 366.1 MB Notification: Performance of sorting global known variables: time 9.744e-05/0.1736, allocations: 107.3 kB / 494.6 MB, free: 384 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1736, allocations: 0 / 494.6 MB, free: 384 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1739, allocations: 11.98 kB / 494.6 MB, free: 372 kB / 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: 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.001034/0.1749, allocations: 401.1 kB / 495 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.1752, allocations: 55.97 kB / 495.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1752, allocations: 7.938 kB / 495.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.1753, allocations: 23.98 kB / 495.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.1757, allocations: 15.86 kB / 495.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.1762, allocations: 169.4 kB / 495.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1766, allocations: 0.6924 MB / 496 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.1766, allocations: 11.98 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1767, allocations: 15.44 kB / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1767, allocations: 0 / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Templates: time 0.004423/0.1811, allocations: 1.089 MB / 497.1 MB, free: 13.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)