Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009802/0.0009803, allocations: 96.02 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 191.1 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003014, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 63.48 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002592/0.162, allocations: 1.532 MB / 483.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1639, allocations: 0.936 MB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.164, allocations: 0 / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1643, allocations: 51.86 kB / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.1647, allocations: 107.5 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1652, allocations: 135.4 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.1655, allocations: 167.4 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1656, allocations: 21.53 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1658, allocations: 75.73 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.166, allocations: 87.64 kB / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.166, allocations: 11.94 kB / 484.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1661, allocations: 35.98 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.1662, allocations: 31.91 kB / 484.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.1663, allocations: 53.56 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.1665, allocations: 128 kB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.1665, allocations: 4 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1665, allocations: 0 / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1665, allocations: 0 / 485 MB, free: 1.891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001094/0.1676, allocations: 0.5721 MB / 485.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1677, allocations: 12.03 kB / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1678, allocations: 34.56 kB / 485.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.1679, allocations: 15.81 kB / 485.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1681, allocations: 239.7 kB / 485.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1682, allocations: 0 / 485.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.1682, allocations: 8 kB / 485.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.1687, allocations: 173.5 kB / 486 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1687, allocations: 0 / 486 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1687, allocations: 4 kB / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1687, allocations: 0 / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.1694, allocations: 211.8 kB / 486.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.17, allocations: 372.5 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.1708, allocations: 246.4 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.1711, allocations: 120.8 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1712, allocations: 0 / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.1717, allocations: 191.2 kB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1717, allocations: 0 / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003617/0.1753, allocations: 1.066 MB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.1754, allocations: 55.41 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1757, allocations: 248.2 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.1758, allocations: 29.7 kB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1759, allocations: 128 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.1759, allocations: 39.69 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.176, allocations: 8 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1761, allocations: 326.8 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.1768, allocations: 223.7 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.1775, allocations: 218.2 kB / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.1782, allocations: 255.2 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1782, allocations: 0 / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001741/0.1799, allocations: 0.5549 MB / 490.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.18, allocations: 59.41 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.18, allocations: 3.984 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.18, allocations: 4.062 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.1805, allocations: 99.83 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1805, allocations: 7.938 kB / 490.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.1809, allocations: 87.91 kB / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.1809, allocations: 4 kB / 490.5 MB, free: 12.06 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: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.1811, allocations: 137.8 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1811, allocations: 15.81 kB / 490.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.1826, allocations: 498.8 kB / 491.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1826, allocations: 3.938 kB / 491.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1826, allocations: 3.953 kB / 491.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1826, allocations: 7.922 kB / 491.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1844, allocations: 0.7989 MB / 492 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1844, allocations: 8 kB / 492 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.1848, allocations: 87.91 kB / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.1848, allocations: 0 / 492.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1848, allocations: 15.94 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1848, allocations: 3.938 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1848, allocations: 0 / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.1862, allocations: 0.5575 MB / 492.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.1863, allocations: 96.91 kB / 492.8 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1863, allocations: 4.562 kB / 492.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.1867, allocations: 95.84 kB / 492.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.1869, allocations: 47.92 kB / 492.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1869, allocations: 7.984 kB / 492.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.1871, allocations: 185.6 kB / 493.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1871, allocations: 4 kB / 493.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.1874, allocations: 55.92 kB / 493.2 MB, free: 9.352 MB / 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/0.19, allocations: 1.393 MB / 494.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.1915, allocations: 0.5686 MB / 495.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1915, allocations: 0 / 495.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.1922, allocations: 231.8 kB / 495.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.1926, allocations: 32.61 kB / 495.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.1963, allocations: 1.684 MB / 497.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1966, allocations: 0.7244 MB / 497.8 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1967, allocations: 25.41 kB / 497.8 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1969, allocations: 55.36 kB / 497.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1969, allocations: 0 / 497.9 MB, free: 4.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.2127, allocations: 4.862 MB / 0.4909 GB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.213, allocations: 221.5 kB / 0.4911 GB, free: 15.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.107, allocations: 0 / 0.4911 GB, free: 15.66 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)