Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000922/0.0009221, allocations: 99.05 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.001087/0.001087, 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.4/1.4, allocations: 227.3 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.2186/0.2186, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002323/0.1625, allocations: 1.349 MB / 483 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.1634, allocations: 0.6486 MB / 483.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.1635, allocations: 0 / 483.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1637, allocations: 27.91 kB / 483.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1639, allocations: 27.91 kB / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.1639, allocations: 0 / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.164, allocations: 39.84 kB / 483.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.1641, allocations: 3.984 kB / 483.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.1641, allocations: 11.98 kB / 483.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.964e-05/0.1642, allocations: 23.94 kB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1642, allocations: 0 / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.1643, allocations: 15.92 kB / 483.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.1643, allocations: 15.98 kB / 483.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.1644, allocations: 37.62 kB / 483.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.1645, allocations: 48.16 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1645, allocations: 0 / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1645, allocations: 0 / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1645, allocations: 4 kB / 483.9 MB, free: 2.988 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003808/0.1649, allocations: 347.2 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.165, allocations: 12.03 kB / 484.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.165, allocations: 42.55 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.1651, allocations: 7.906 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1652, allocations: 182.8 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1652, allocations: 4 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1652, allocations: 0 / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1655, allocations: 126.7 kB / 484.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1655, allocations: 4 kB / 484.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1655, allocations: 11.97 kB / 484.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.1655, allocations: 19.98 kB / 484.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.1656, allocations: 39.91 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.1663, allocations: 0.8945 MB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.1664, allocations: 169.2 kB / 485.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.1665, allocations: 84.14 kB / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1665, allocations: 79.28 kB / 485.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.1666, allocations: 105.8 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.1666, allocations: 0 / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.292e-05/0.1667, allocations: 37.59 kB / 486 MB, free: 0.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.1668, allocations: 130.7 kB / 486.2 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.167, allocations: 190 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.167, allocations: 25.7 kB / 486.4 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1672, allocations: 155.1 kB / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.308e-06/0.1672, allocations: 7.984 kB / 486.5 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.1672, allocations: 4 kB / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1674, allocations: 318.8 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1674, allocations: 35.97 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1676, allocations: 149.2 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1677, allocations: 67.92 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1677, allocations: 4 kB / 487.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003084/0.168, allocations: 193.6 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.168, allocations: 11.95 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.168, allocations: 4 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1681, allocations: 8 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1682, allocations: 35.92 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1682, allocations: 8 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.1683, allocations: 27.77 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1683, allocations: 8 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002375/0.1686, allocations: 217.2 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.1687, allocations: 124.8 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.1688, allocations: 112.8 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001053/0.1689, allocations: 180.2 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.599e-05/0.169, allocations: 180.3 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-05/0.169, allocations: 188.2 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.1693, allocations: 421.2 kB / 488.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/0.1694, allocations: 109 kB / 488.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.1694, allocations: 104.9 kB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-05/0.1695, allocations: 180.3 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1696, allocations: 176.3 kB / 489.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.85e-05/0.1697, allocations: 192.2 kB / 489.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.288e-05/0.1697, allocations: 180.3 kB / 489.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1699, allocations: 315.6 kB / 490 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.17, allocations: 182 kB / 490.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.1701, allocations: 192.2 kB / 490.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.1702, allocations: 105 kB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.1703, allocations: 184.2 kB / 490.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.1703, allocations: 101 kB / 490.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1704, allocations: 135.2 kB / 490.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1704, allocations: 0 / 490.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1707, allocations: 12 kB / 490.9 MB, free: 11.43 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 (0): * Single equations (assignments): 0 * 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.0009064/0.1716, allocations: 0.9122 MB / 491.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1718, allocations: 72.84 kB / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1718, allocations: 4.188 kB / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.1718, allocations: 0 / 491.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.1722, allocations: 0.5289 MB / 492.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1732, allocations: 0.7702 MB / 493.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1735, allocations: 0.697 MB / 493.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.1737, allocations: 53.02 kB / 493.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1737, allocations: 23.42 kB / 493.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1737, allocations: 0 / 493.9 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.1866, allocations: 1.931 MB / 495.9 MB, free: 6.438 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.1868, allocations: 218.8 kB / 496.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/1.981, allocations: 4 kB / 496.1 MB, free: 6.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat does not exist to compare? outputFormat=mat