Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001422, allocations: 103.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.001612/0.001612, 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.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2285/0.2285, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002321/0.002322, allocations: 85.42 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1543, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00357/0.1579, allocations: 1.667 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1591, allocations: 0.5805 MB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.1592, allocations: 4 kB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.1598, allocations: 455.1 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.1603, allocations: 287.3 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.1608, allocations: 185.9 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.161, allocations: 175.6 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1611, allocations: 27.98 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1613, allocations: 107.8 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1615, allocations: 215.5 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1615, allocations: 4 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.41e-05/0.1616, allocations: 31.98 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1618, allocations: 87.69 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1619, allocations: 107 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1622, allocations: 275.2 kB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1622, allocations: 0 / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1622, allocations: 0 / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1623, allocations: 0 / 484.4 MB, free: 0.9492 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.0008187/0.1631, allocations: 0.6453 MB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1631, allocations: 8.031 kB / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1632, allocations: 46.67 kB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.1633, allocations: 44.38 kB / 485.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1636, allocations: 296.2 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1636, allocations: 8.359 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1636, allocations: 384 / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1638, allocations: 69.59 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1638, allocations: 3.906 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1639, allocations: 4 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1639, allocations: 0 / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.164, allocations: 39.91 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.1646, allocations: 404.7 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1647, allocations: 50.55 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.1648, allocations: 24.94 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1648, allocations: 7.938 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.1649, allocations: 34.56 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 4.729e-06/0.1649, allocations: 7.922 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008956/0.1658, allocations: 315.8 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1658, allocations: 59.34 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/0.1668, allocations: 0.8698 MB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1668, allocations: 29.7 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.167, allocations: 220 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.167, allocations: 19.72 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.1671, allocations: 21.72 kB / 487.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.1673, allocations: 366.8 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1674, allocations: 31.97 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1676, allocations: 43.95 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1678, allocations: 84.8 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1678, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003515/0.1682, allocations: 161.3 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1682, allocations: 7.938 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1682, allocations: 0 / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1683, allocations: 0 / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1684, allocations: 23.98 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1684, allocations: 4.062 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.1685, allocations: 15.92 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1685, allocations: 4 kB / 488.3 MB, free: 12.79 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 (7): * Single equations (assignments): 7 * 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.0002493/0.1688, allocations: 217.8 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.1689, allocations: 43.44 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.1693, allocations: 181.5 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1693, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1693, allocations: 4 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.1694, allocations: 11.92 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.1702, allocations: 0.5101 MB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1702, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.1703, allocations: 15.98 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.1703, allocations: 7.938 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1703, allocations: 7.938 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1703, allocations: 0 / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1704, allocations: 3.938 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.1708, allocations: 251 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.1709, allocations: 120.5 kB / 489.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.171, allocations: 3.938 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1711, allocations: 11.98 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1712, allocations: 4 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1712, allocations: 4 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007181/0.1719, allocations: 0.655 MB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1719, allocations: 0 / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1722, allocations: 31.94 kB / 490.4 MB, free: 10.61 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 (7): * Single equations (assignments): 7 * 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.002125/0.1743, allocations: 1.092 MB / 491.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.1747, allocations: 95.86 kB / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1747, allocations: 4 kB / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.1749, allocations: 47.95 kB / 491.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.1753, allocations: 27.86 kB / 491.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.1799, allocations: 3.419 MB / 495 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.1804, allocations: 0.8338 MB / 495.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.1805, allocations: 20.66 kB / 495.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1807, allocations: 123.4 kB / 496 MB, free: 4.961 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1807, allocations: 0 / 496 MB, free: 4.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.2082, allocations: 6.131 MB / 0.4904 GB, free: 14.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/8.95, allocations: 1.078 kB / 0.4904 GB, free: 14.9 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1)