Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.731/1.731, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4599/0.4599, allocations: 39.93 MB / 309.7 MB, free: 9.27 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.2. 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.001827/0.001828, allocations: 66.56 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1721, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003726/0.1759, allocations: 1.563 MB / 436.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006971/0.1766, allocations: 313.2 kB / 436.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.1767, allocations: 4 kB / 436.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.1771, allocations: 87.75 kB / 436.5 MB, free: 1.707 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.0002365/0.1773, allocations: 75.72 kB / 436.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.1776, allocations: 67.83 kB / 436.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1778, allocations: 71.89 kB / 436.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.178, allocations: 28.42 kB / 436.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.1781, allocations: 43.77 kB / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1783, allocations: 55.81 kB / 436.8 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1783, allocations: 4 kB / 436.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.1784, allocations: 28 kB / 436.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.1785, allocations: 27.92 kB / 436.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1786, allocations: 31.73 kB / 436.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1789, allocations: 107.6 kB / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1789, allocations: 0 / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.1789, allocations: 0 / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1789, allocations: 3.938 kB / 437 MB, free: 1.172 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005817/0.1795, allocations: 418.8 kB / 437.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1795, allocations: 15.89 kB / 437.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.1796, allocations: 12.75 kB / 437.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1798, allocations: 200.1 kB / 437.6 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1799, allocations: 384 / 437.6 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1799, allocations: 8.375 kB / 437.6 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1801, allocations: 61.61 kB / 437.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1801, allocations: 0 / 437.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1801, allocations: 4 kB / 437.7 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1801, allocations: 0 / 437.7 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1803, allocations: 35.91 kB / 437.7 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.1807, allocations: 300.7 kB / 438 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1809, allocations: 50.56 kB / 438.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.181, allocations: 20.97 kB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.181, allocations: 4.062 kB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.1811, allocations: 42.5 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1811, allocations: 0 / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006871/0.1818, allocations: 189 kB / 438.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1818, allocations: 55.41 kB / 438.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1821, allocations: 234.9 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1821, allocations: 33.7 kB / 438.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.1822, allocations: 104.1 kB / 438.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1822, allocations: 23.66 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1823, allocations: 25.7 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1825, allocations: 322.8 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.1826, allocations: 27.92 kB / 439.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.1827, allocations: 23.98 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1828, allocations: 60.81 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1828, allocations: 0 / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.1831, allocations: 109.4 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1831, allocations: 4 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1831, allocations: 3.984 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1831, allocations: 0 / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1832, allocations: 16 kB / 439.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1833, allocations: 0 / 439.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1833, allocations: 11.92 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1833, allocations: 0 / 439.4 MB, free: 14.58 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 (8): * Single equations (assignments): 8 * 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.1834, allocations: 133.8 kB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1835, allocations: 15.81 kB / 439.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.1836, allocations: 13.41 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1836, allocations: 0 / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1836, allocations: 4 kB / 439.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1836, allocations: 11.86 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.1841, allocations: 386.8 kB / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1841, allocations: 4 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.409e-05/0.1842, allocations: 19.98 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1842, allocations: 3.938 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1842, allocations: 4 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1842, allocations: 0 / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1842, allocations: 4.078 kB / 439.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.1846, allocations: 199.3 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1846, allocations: 89.3 kB / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1846, allocations: 7.938 kB / 440.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1847, allocations: 11.98 kB / 440.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.1848, allocations: 11.98 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.1848, allocations: 4 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.185, allocations: 171.2 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.185, allocations: 0 / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1852, allocations: 20 kB / 440.4 MB, free: 13.38 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 (8): * Single equations (assignments): 8 * 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.0009373/0.1862, allocations: 413.9 kB / 440.9 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1864, allocations: 67.89 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1864, allocations: 0 / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.1865, allocations: 39.92 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1869, allocations: 19.84 kB / 441 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.1875, allocations: 250.2 kB / 441.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1879, allocations: 0.7158 MB / 441.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.188, allocations: 12.98 kB / 442 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.188, allocations: 15.44 kB / 442 MB, free: 11.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.188, allocations: 0 / 442 MB, free: 11.83 MB / 382.1 MB Notification: Performance of Templates: time 0.004045/0.192, allocations: 1.201 MB / 443.2 MB, free: 10.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)