Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, 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.001758/0.001758, allocations: 198.4 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.771/1.771, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3872/0.3872, allocations: 39.95 MB / 309.7 MB, free: 9.328 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.001517/0.001517, allocations: 71.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1536, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003267/0.1569, allocations: 1.539 MB / 436 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000658/0.1576, allocations: 317.1 kB / 436.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.1577, allocations: 0 / 436.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.158, allocations: 35.83 kB / 436.4 MB, free: 1.785 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.0002172/0.1582, allocations: 27.86 kB / 436.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.1585, allocations: 71.78 kB / 436.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1586, allocations: 55.89 kB / 436.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1588, allocations: 19.97 kB / 436.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.1588, allocations: 19.88 kB / 436.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.1589, allocations: 15.92 kB / 436.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1589, allocations: 0 / 436.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.159, allocations: 31.92 kB / 436.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.1591, allocations: 23.92 kB / 436.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.1591, allocations: 19.81 kB / 436.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1593, allocations: 80 kB / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1593, allocations: 0 / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1593, allocations: 0 / 436.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1593, allocations: 0 / 436.7 MB, free: 1.426 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.0005373/0.1599, allocations: 395.1 kB / 437.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1599, allocations: 11.89 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.16, allocations: 16.78 kB / 437.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1602, allocations: 184.2 kB / 437.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1602, allocations: 12.38 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1603, allocations: 384 / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1604, allocations: 53.8 kB / 437.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1604, allocations: 0 / 437.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1604, allocations: 0 / 437.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1605, allocations: 0 / 437.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.1606, allocations: 19.98 kB / 437.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.161, allocations: 288.7 kB / 437.7 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1612, allocations: 46.5 kB / 437.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1613, allocations: 16.94 kB / 437.8 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1613, allocations: 0 / 437.8 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1613, allocations: 30.56 kB / 437.8 MB, free: 216 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1613, allocations: 4 kB / 437.8 MB, free: 212 kB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005677/0.1619, allocations: 141.3 kB / 437.9 MB, free: 64 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1619, allocations: 51.41 kB / 438 MB, free: 0 / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1621, allocations: 161.8 kB / 438.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1622, allocations: 25.7 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.1622, allocations: 92.14 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1623, allocations: 31.72 kB / 438.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1623, allocations: 17.72 kB / 438.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1624, allocations: 326.8 kB / 438.6 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.1625, allocations: 11.98 kB / 438.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.1626, allocations: 19.98 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1627, allocations: 52.77 kB / 438.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1627, allocations: 4 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.1629, allocations: 73.58 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1629, allocations: 8 kB / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.163, allocations: 0 / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.163, allocations: 0 / 438.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.163, allocations: 11.98 kB / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.163, allocations: 256 / 438.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.1631, allocations: 4 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1631, allocations: 11.94 kB / 438.8 MB, free: 15.12 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 8.619e-05/0.1632, allocations: 129.7 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1632, allocations: 7.906 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/0.1633, allocations: 12.31 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1633, allocations: 0 / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1633, allocations: 0 / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1633, allocations: 0 / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1637, allocations: 350.5 kB / 439.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1637, allocations: 4.266 kB / 439.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.1638, allocations: 8 kB / 439.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1638, allocations: 3.938 kB / 439.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1638, allocations: 0 / 439.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.1638, allocations: 7.938 kB / 439.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1638, allocations: 0 / 439.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1641, allocations: 183.4 kB / 439.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1641, allocations: 81.02 kB / 439.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.1642, allocations: 0 / 439.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.1642, allocations: 19.86 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1643, allocations: 4 kB / 439.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1643, allocations: 0 / 439.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1644, allocations: 130.9 kB / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1644, allocations: 0 / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1646, allocations: 12 kB / 439.8 MB, free: 14.09 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.0009894/0.1656, allocations: 409.8 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.1658, allocations: 47.91 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1659, allocations: 0 / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.1659, allocations: 27.97 kB / 440.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1663, allocations: 15.86 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.1668, allocations: 193.9 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.167, allocations: 0.6924 MB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.1671, allocations: 19.97 kB / 441.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1671, allocations: 15.44 kB / 441.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1671, allocations: 0 / 441.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of Templates: time 0.003785/0.1709, allocations: 1.081 MB / 442.2 MB, free: 11.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)