Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2256/0.2256, allocations: 46.09 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 84.33 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1454, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.005065/0.1505, allocations: 1.933 MB / 482.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.153, allocations: 0.9895 MB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1532, allocations: 0 / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006602/0.1539, allocations: 251.2 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007754/0.1547, allocations: 259.1 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1561, allocations: 490 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.1566, allocations: 291.2 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1568, allocations: 44.72 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.1571, allocations: 135.4 kB / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1574, allocations: 195.3 kB / 484.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1574, allocations: 8 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.1576, allocations: 51.97 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1577, allocations: 83.69 kB / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1579, allocations: 115 kB / 485 MB, free: 320 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.1583, allocations: 295.1 kB / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1583, allocations: 0 / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1583, allocations: 0 / 485.3 MB, free: 24 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1583, allocations: 4 kB / 485.3 MB, free: 20 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009484/0.1593, allocations: 0.6532 MB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1593, allocations: 8.031 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.1594, allocations: 38.75 kB / 486 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.127e-05/0.1595, allocations: 40.47 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.1599, allocations: 330 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1599, allocations: 4.375 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1599, allocations: 12.25 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1601, allocations: 81.59 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1602, allocations: 0 / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1602, allocations: 16 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1602, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1603, allocations: 47.97 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.161, allocations: 452.4 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1612, allocations: 62.55 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.862e-05/0.1612, allocations: 28.97 kB / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1613, allocations: 0 / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1613, allocations: 34.56 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.1613, allocations: 3.938 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003923/0.1617, allocations: 129.2 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1618, allocations: 59.34 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.1625, allocations: 0.5877 MB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1625, allocations: 25.7 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.1627, allocations: 212.1 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1627, allocations: 19.7 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1628, allocations: 21.7 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.163, allocations: 354.8 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.1631, allocations: 15.98 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.1631, allocations: 20 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1633, allocations: 52.77 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1633, allocations: 0 / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002304/0.1635, allocations: 109.2 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1635, allocations: 11.98 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1636, allocations: 0 / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.1636, allocations: 3.938 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.1637, allocations: 11.94 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1637, allocations: 3.984 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.1638, allocations: 16.36 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1638, allocations: 4 kB / 488.7 MB, free: 12.36 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001807/0.164, allocations: 169.8 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.1641, allocations: 39.44 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.1644, allocations: 133.2 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1644, allocations: 3.938 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.1644, allocations: 4 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1644, allocations: 4 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.1648, allocations: 285.5 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1648, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.1649, allocations: 15.98 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1649, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1649, allocations: 7.938 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1649, allocations: 3.938 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1649, allocations: 3.938 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1652, allocations: 211.1 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1653, allocations: 116.6 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.1654, allocations: 0 / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.1655, allocations: 11.94 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1655, allocations: 7.984 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1655, allocations: 0 / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005433/0.1661, allocations: 439.1 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1661, allocations: 0 / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000304/0.1664, allocations: 39.83 kB / 490.2 MB, free: 10.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.003023/0.1694, allocations: 1.241 MB / 491.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1697, allocations: 47.97 kB / 491.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1697, allocations: 4 kB / 491.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.936e-05/0.1698, allocations: 27.92 kB / 491.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.1703, allocations: 81.81 kB / 491.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.1742, allocations: 2.865 MB / 494.5 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.1747, allocations: 0.8022 MB / 495.3 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1749, allocations: 41.48 kB / 495.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.175, allocations: 107.4 kB / 495.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.175, allocations: 4 kB / 495.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.205, allocations: 6.653 MB / 0.4903 GB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.547, allocations: 14.31 kB / 0.4903 GB, free: 15.1 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1)