Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001511/0.001511, allocations: 105.8 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.001573/0.001573, 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.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2287/0.2287, allocations: 46.1 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.002285/0.002285, allocations: 72.25 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1499, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004047/0.154, allocations: 1.946 MB / 482.2 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1562, allocations: 1.083 MB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1563, allocations: 7.938 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.1569, allocations: 259.2 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.1576, allocations: 263.1 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1592, allocations: 0.6396 MB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.1598, allocations: 315.2 kB / 484.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.16, allocations: 60.7 kB / 484.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1602, allocations: 135.4 kB / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1605, allocations: 199.2 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1606, allocations: 8 kB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1607, allocations: 59.97 kB / 485.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1609, allocations: 87.69 kB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1611, allocations: 115.1 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.1615, allocations: 311 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1615, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1615, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1615, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.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.0009228/0.1624, allocations: 0.6649 MB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1625, allocations: 8.031 kB / 486.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.1625, allocations: 42.75 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.1626, allocations: 44.38 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.1631, allocations: 334 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1631, allocations: 4.375 kB / 486.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1631, allocations: 8.312 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1634, allocations: 105.5 kB / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1634, allocations: 0 / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1634, allocations: 0 / 486.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1634, allocations: 3.984 kB / 486.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1636, allocations: 75.95 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.1643, allocations: 476.4 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1645, allocations: 66.55 kB / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.1646, allocations: 32.97 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.1647, allocations: 11.97 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1647, allocations: 38.56 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1647, allocations: 0 / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004128/0.1651, allocations: 157.2 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1652, allocations: 59.34 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.1659, allocations: 0.5918 MB / 488.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1659, allocations: 25.7 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.1661, allocations: 216.1 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1662, allocations: 23.7 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.1662, allocations: 13.72 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1664, allocations: 358.8 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.1665, allocations: 28.05 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.1666, allocations: 27.98 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1667, allocations: 68.75 kB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1667, allocations: 4 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002434/0.167, allocations: 129.1 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.167, allocations: 11.98 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.167, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1671, allocations: 3.938 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.1671, allocations: 8 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1672, allocations: 0 / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.1672, allocations: 19.83 kB / 489.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1673, allocations: 0 / 489.3 MB, free: 11.81 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.0001824/0.1674, allocations: 181.7 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.1675, allocations: 35.53 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.1679, allocations: 153.2 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1679, allocations: 3.938 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1679, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1679, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.1683, allocations: 305.4 kB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1683, allocations: 0 / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.1684, allocations: 16 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1684, allocations: 256 / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1684, allocations: 7.938 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1685, allocations: 11.94 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1685, allocations: 0 / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1688, allocations: 231 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.1689, allocations: 116.6 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.1689, allocations: 0 / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.963e-05/0.169, allocations: 11.94 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.1691, allocations: 7.984 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1691, allocations: 0 / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005369/0.1696, allocations: 450.8 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1696, allocations: 0 / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1699, allocations: 39.84 kB / 490.8 MB, free: 10.17 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.002908/0.1728, allocations: 1.254 MB / 492.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1731, allocations: 63.95 kB / 492.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1731, allocations: 0 / 492.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.1732, allocations: 35.92 kB / 492.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.1738, allocations: 87.62 kB / 492.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.178, allocations: 2.999 MB / 495.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.1785, allocations: 0.8139 MB / 496.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1786, allocations: 53.88 kB / 496.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.1788, allocations: 111.4 kB / 496.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1788, allocations: 4 kB / 496.2 MB, free: 4.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.2142, allocations: 6.842 MB / 0.4913 GB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.409, allocations: 11.38 kB / 0.4913 GB, free: 14.09 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1)