Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.58 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.2722/0.2722, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002756/0.002757, allocations: 89.06 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1531, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003445/0.1566, allocations: 1.705 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1577, allocations: 0.5649 MB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.1577, allocations: 4 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1579, allocations: 15.86 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.1582, allocations: 91.48 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.1586, allocations: 134.8 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1588, allocations: 91.75 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.1589, allocations: 16 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.339e-05/0.1589, allocations: 35.84 kB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.159, allocations: 47.7 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1591, allocations: 8 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.1593, allocations: 103.9 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.1593, allocations: 15.98 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.1594, allocations: 39.73 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1597, allocations: 171.8 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1597, allocations: 0 / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1597, allocations: 0 / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1597, allocations: 4 kB / 483.2 MB, free: 2.094 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007248/0.1605, allocations: 442.9 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1605, allocations: 12.03 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.1605, allocations: 34.73 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.1606, allocations: 8.844 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1609, allocations: 204.2 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1609, allocations: 384 / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1609, allocations: 12.31 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1612, allocations: 87.3 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1612, allocations: 0 / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1613, allocations: 4 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1613, allocations: 0 / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.1616, allocations: 71.92 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.1621, allocations: 320.6 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.1624, allocations: 78.52 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1626, allocations: 44.95 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1627, allocations: 3.984 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1627, allocations: 38.56 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1627, allocations: 4 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001679/0.1644, allocations: 372.8 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1645, allocations: 81.11 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1647, allocations: 169.1 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1647, allocations: 25.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.1648, allocations: 108.1 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.1649, allocations: 31.55 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.1649, allocations: 21.81 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1651, allocations: 330.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.1654, allocations: 63.92 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.1658, allocations: 89.64 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.1663, allocations: 152.7 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.1664, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006434/0.167, allocations: 193.3 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.167, allocations: 8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.167, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1671, allocations: 4 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1673, allocations: 35.95 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1673, allocations: 3.938 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1675, allocations: 27.97 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1675, allocations: 0 / 486.3 MB, free: 14.82 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 (10): * Single equations (assignments): 10 * 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.0001163/0.1676, allocations: 129.8 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.1677, allocations: 7.906 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.1684, allocations: 206.4 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1684, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1684, allocations: 8.031 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1684, allocations: 3.938 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.1695, allocations: 0.4905 MB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1695, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.1697, allocations: 39.89 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1697, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1697, allocations: 4 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1697, allocations: 8 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1697, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006903/0.1704, allocations: 283.6 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1705, allocations: 96.86 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1706, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1707, allocations: 31.95 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.1708, allocations: 11.98 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1708, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.171, allocations: 127.1 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.171, allocations: 0 / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1713, allocations: 51.98 kB / 487.7 MB, free: 13.23 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 (9): * Single equations (assignments): 9 * 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.002736/0.174, allocations: 1.212 MB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006907/0.1747, allocations: 159.8 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1747, allocations: 0 / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.175, allocations: 79.92 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.1755, allocations: 25.05 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.1787, allocations: 1.841 MB / 491.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1791, allocations: 0.7118 MB / 491.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1792, allocations: 16.58 kB / 491.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1793, allocations: 43.41 kB / 491.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1793, allocations: 4 kB / 491.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.208, allocations: 4.182 MB / 496 MB, free: 5.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.509, allocations: 2.922 kB / 496 MB, free: 5.094 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1)