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.001166/0.001166, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002895, allocations: 81.39 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1486, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003794/0.1525, allocations: 1.864 MB / 482 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1543, allocations: 1.013 MB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1544, allocations: 7.938 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1547, allocations: 59.72 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.1552, allocations: 115.4 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.1557, allocations: 167.3 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.156, allocations: 199.5 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1562, allocations: 17.55 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1564, allocations: 83.73 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.1565, allocations: 107.6 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.1566, allocations: 12 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1567, allocations: 39.98 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.1568, allocations: 43.81 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.1569, allocations: 71.59 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.1572, allocations: 183.7 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1572, allocations: 4 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1572, allocations: 3.938 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1572, allocations: 0 / 484.1 MB, free: 1.184 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.001224/0.1585, allocations: 0.5876 MB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1585, allocations: 8.031 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.1586, allocations: 38.69 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.1586, allocations: 16.75 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.159, allocations: 236.9 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.159, allocations: 12.36 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.1591, allocations: 11.94 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.1596, allocations: 145.4 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1596, allocations: 0 / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1597, allocations: 7.984 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1597, allocations: 0 / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.1604, allocations: 159.8 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.161, allocations: 368.7 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.1618, allocations: 198.3 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.1622, allocations: 88.77 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.1622, allocations: 4.109 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.1629, allocations: 171.1 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.307e-06/0.1629, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003961/0.1669, allocations: 0.8163 MB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.167, allocations: 59.34 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1673, allocations: 252.2 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1673, allocations: 29.7 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.1674, allocations: 124.1 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.1675, allocations: 43.59 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1676, allocations: 33.7 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1678, allocations: 330.8 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.1685, allocations: 163.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.1692, allocations: 176.3 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.1706, allocations: 363.9 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1706, allocations: 0 / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001586/0.1722, allocations: 458.4 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.1723, allocations: 63.39 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1723, allocations: 0 / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1723, allocations: 3.938 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.1728, allocations: 75.84 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1728, allocations: 4 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.1733, allocations: 59.91 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1733, allocations: 7.984 kB / 489.1 MB, free: 11.86 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.0001931/0.1735, allocations: 141.8 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.1736, allocations: 19.72 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.1752, allocations: 406.8 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1752, allocations: 3.938 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1752, allocations: 0 / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1752, allocations: 0 / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.1771, allocations: 0.7051 MB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1771, allocations: 0 / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.1775, allocations: 79.83 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1775, allocations: 0 / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1775, allocations: 0 / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1775, allocations: 3.938 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1776, allocations: 4 kB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.179, allocations: 482.9 kB / 491 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.1791, allocations: 92.86 kB / 491.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1792, allocations: 7.984 kB / 491.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.1796, allocations: 59.91 kB / 491.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.1798, allocations: 47.92 kB / 491.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1798, allocations: 12 kB / 491.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.18, allocations: 185.8 kB / 491.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.18, allocations: 0 / 491.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1803, allocations: 47.89 kB / 491.4 MB, free: 9.484 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.002739/0.1831, allocations: 1.305 MB / 492.7 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1848, allocations: 474.3 kB / 493.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1848, allocations: 4 kB / 493.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000752/0.1856, allocations: 175.8 kB / 493.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.186, allocations: 40.52 kB / 493.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006782/0.1928, allocations: 2.817 MB / 496.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1931, allocations: 0.7241 MB / 496.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.1933, allocations: 25.41 kB / 497 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1935, allocations: 51.42 kB / 497 MB, free: 3.852 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1935, allocations: 0 / 497 MB, free: 3.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2194, allocations: 5.665 MB / 0.4909 GB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.56, allocations: 17 kB / 0.4909 GB, free: 14.24 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)