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.001225/0.001225, allocations: 109.8 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 79.19 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1233, allocations: 62.44 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004237/0.1276, allocations: 1.922 MB / 481.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1299, allocations: 1.009 MB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1301, allocations: 0 / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.1304, allocations: 47.86 kB / 482.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.1311, allocations: 103.6 kB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.1317, allocations: 154.9 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.1321, allocations: 199.3 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1323, allocations: 17.56 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1325, allocations: 83.78 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.1328, allocations: 99.58 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.1329, allocations: 16 kB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.133, allocations: 43.98 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1332, allocations: 43.83 kB / 483.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1333, allocations: 75.56 kB / 483.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.1338, allocations: 191.7 kB / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1338, allocations: 0 / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1338, allocations: 0 / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.1338, allocations: 7.938 kB / 483.6 MB, free: 1.531 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.001611/0.1355, allocations: 0.5798 MB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/0.1355, allocations: 8.031 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.743e-05/0.1356, allocations: 34.75 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.1357, allocations: 20.75 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.1362, allocations: 236.9 kB / 484.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1362, allocations: 4.375 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.1363, allocations: 7.938 kB / 484.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.137, allocations: 153.5 kB / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.137, allocations: 0 / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.137, allocations: 0 / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1371, allocations: 4 kB / 484.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.138, allocations: 159.8 kB / 484.8 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.1387, allocations: 368.6 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.1397, allocations: 202.3 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.1402, allocations: 88.77 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.1403, allocations: 11.98 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007598/0.1411, allocations: 163.1 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.1411, allocations: 4 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.004819/0.1459, allocations: 0.8124 MB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.146, allocations: 59.34 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.1464, allocations: 252.2 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/0.1465, allocations: 25.7 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1466, allocations: 132.1 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.1467, allocations: 35.47 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.1468, allocations: 33.7 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1469, allocations: 330.8 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009404/0.1479, allocations: 171.8 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.1488, allocations: 174.4 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.1506, allocations: 359.9 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1507, allocations: 0 / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001999/0.1527, allocations: 456.4 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.1528, allocations: 69.89 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1528, allocations: 0 / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.1528, allocations: 0 / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.1534, allocations: 67.84 kB / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1534, allocations: 0 / 488.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.154, allocations: 71.89 kB / 488.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.154, allocations: 8 kB / 488.6 MB, free: 12.22 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 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.1542, allocations: 133.8 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.1543, allocations: 23.7 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.1564, allocations: 410.8 kB / 489.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1565, allocations: 3.938 kB / 489.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1565, allocations: 0 / 489.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1565, allocations: 0 / 489.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.1588, allocations: 0.7126 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1588, allocations: 4.5 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.1593, allocations: 71.84 kB / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1593, allocations: 0 / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.1594, allocations: 4 kB / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1594, allocations: 0 / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1594, allocations: 0 / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.1614, allocations: 490.8 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.1616, allocations: 96.84 kB / 490.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.1616, allocations: 8 kB / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.1622, allocations: 67.91 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.1625, allocations: 43.94 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.1625, allocations: 4 kB / 490.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.1628, allocations: 185.8 kB / 490.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1628, allocations: 8 kB / 490.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.1633, allocations: 47.91 kB / 490.9 MB, free: 9.836 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 (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.003564/0.1669, allocations: 1.3 MB / 492.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.169, allocations: 478.3 kB / 492.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.1691, allocations: 0 / 492.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.1701, allocations: 183.8 kB / 492.8 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.1707, allocations: 36.64 kB / 492.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/0.1789, allocations: 2.853 MB / 495.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1794, allocations: 0.728 MB / 496.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.1796, allocations: 21.41 kB / 496.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.1798, allocations: 55.42 kB / 496.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1798, allocations: 0 / 496.5 MB, free: 4.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.1994, allocations: 5.269 MB / 0.49 GB, free: 15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/0.1997, allocations: 239.8 kB / 0.4903 GB, free: 14.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.287, allocations: 3.938 kB / 0.4903 GB, free: 14.73 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/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)