Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009345/0.0009342, allocations: 93.88 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 63.48 MB / 481.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002128/0.1565, allocations: 1.665 MB / 483.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1581, allocations: 1.127 MB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.1582, allocations: 4 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1584, allocations: 35.78 kB / 484.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1588, allocations: 179.4 kB / 484.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.1596, allocations: 385.8 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1598, allocations: 243.2 kB / 485.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.16, allocations: 56.88 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.1602, allocations: 111.5 kB / 485.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.1605, allocations: 159.4 kB / 485.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1605, allocations: 8 kB / 485.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1606, allocations: 51.98 kB / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1607, allocations: 127.6 kB / 485.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.1609, allocations: 81.44 kB / 485.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1612, allocations: 291.7 kB / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1612, allocations: 0 / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1612, allocations: 0 / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1612, allocations: 0 / 486.1 MB, free: 0.793 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000926/0.1622, allocations: 0.7309 MB / 486.9 MB, free: 12 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1622, allocations: 12.03 kB / 486.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.229e-05/0.1623, allocations: 42.55 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.1625, allocations: 79.23 kB / 487 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.163, allocations: 439 kB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1631, allocations: 12 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1631, allocations: 15.91 kB / 487.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.1634, allocations: 138.6 kB / 487.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1634, allocations: 3.984 kB / 487.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1634, allocations: 4 kB / 487.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1634, allocations: 0 / 487.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1636, allocations: 91.89 kB / 487.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008409/0.1645, allocations: 0.6877 MB / 488.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1647, allocations: 117.2 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.1648, allocations: 45.83 kB / 488.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1648, allocations: 7.938 kB / 488.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1648, allocations: 34.56 kB / 488.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1648, allocations: 0 / 488.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001288/0.1661, allocations: 0.5525 MB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1662, allocations: 81.11 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.1672, allocations: 0.9141 MB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.1672, allocations: 29.7 kB / 490.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.1675, allocations: 272.2 kB / 490.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/0.1675, allocations: 47.27 kB / 490.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.1675, allocations: 4 kB / 490.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1677, allocations: 378.7 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1679, allocations: 63.97 kB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1681, allocations: 81.61 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.1682, allocations: 76.09 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1682, allocations: 0 / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004291/0.1687, allocations: 232.9 kB / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1687, allocations: 4 kB / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1687, allocations: 0 / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.1687, allocations: 8.219 kB / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1689, allocations: 47.91 kB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.169, allocations: 7.922 kB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1691, allocations: 16.66 kB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1691, allocations: 11.98 kB / 491.4 MB, free: 11.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.1693, allocations: 213.7 kB / 491.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.1694, allocations: 51.34 kB / 491.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005711/0.17, allocations: 290.5 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.17, allocations: 4 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.17, allocations: 0 / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1701, allocations: 3.984 kB / 491.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1711, allocations: 0.8019 MB / 492.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1712, allocations: 0 / 492.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1713, allocations: 47.91 kB / 492.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1713, allocations: 0 / 492.8 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1714, allocations: 11.98 kB / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1714, allocations: 0 / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1714, allocations: 0 / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.1719, allocations: 417.9 kB / 493.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.1721, allocations: 160.3 kB / 493.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.1721, allocations: 4 kB / 493.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1723, allocations: 19.98 kB / 493.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1724, allocations: 19.97 kB / 493.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1724, allocations: 4 kB / 493.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007143/0.1731, allocations: 0.6747 MB / 494.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1731, allocations: 0 / 494.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1735, allocations: 56 kB / 494.1 MB, free: 8.414 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/0.1751, allocations: 1.244 MB / 495.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1755, allocations: 155.9 kB / 495.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1755, allocations: 0 / 495.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1757, allocations: 87.89 kB / 495.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.1763, allocations: 74.77 kB / 495.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.1808, allocations: 3.219 MB / 498.9 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.1813, allocations: 0.8608 MB / 499.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.1815, allocations: 87.2 kB / 499.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.1817, allocations: 167.4 kB / 0.4883 GB, free: 2.57 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1817, allocations: 0 / 0.4883 GB, free: 2.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.2033, allocations: 8.887 MB / 0.497 GB, free: 9.789 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.2035, allocations: 218 kB / 0.4972 GB, free: 9.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.228, allocations: 0 / 0.4972 GB, free: 9.551 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat does not exist to compare? outputFormat=mat