Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.0007416/0.0007417, allocations: 95.39 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008245/0.0008245, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003227, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003568/0.1419, allocations: 1.678 MB / 483.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.1446, allocations: 1.24 MB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1448, allocations: 3.938 kB / 484.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1451, allocations: 43.77 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.1457, allocations: 175.4 kB / 484.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1475, allocations: 0.5429 MB / 485.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.148, allocations: 271.2 kB / 485.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.1483, allocations: 56.89 kB / 485.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.1486, allocations: 115.5 kB / 485.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.1489, allocations: 163.3 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.1489, allocations: 8 kB / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1491, allocations: 55.97 kB / 486 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.1494, allocations: 131.6 kB / 486.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.815e-05/0.1495, allocations: 81.39 kB / 486.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.15, allocations: 303.7 kB / 486.5 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.15, allocations: 0 / 486.5 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.15, allocations: 0 / 486.5 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1501, allocations: 0 / 486.5 MB, free: 420 kB / 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.001419/0.1515, allocations: 0.7386 MB / 487.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.1516, allocations: 12.03 kB / 487.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.1516, allocations: 42.55 kB / 487.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.152, allocations: 71.33 kB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007517/0.1528, allocations: 459.7 kB / 487.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1528, allocations: 4 kB / 487.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.1528, allocations: 12 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.1532, allocations: 155.2 kB / 488 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1533, allocations: 3.906 kB / 488 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1533, allocations: 4 kB / 488 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1533, allocations: 0 / 488 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.1537, allocations: 103.9 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.155, allocations: 0.7112 MB / 488.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.1553, allocations: 129.1 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1555, allocations: 53.77 kB / 489 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1555, allocations: 4 kB / 489 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.1556, allocations: 38.55 kB / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.1556, allocations: 0 / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002025/0.1576, allocations: 0.5879 MB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.1577, allocations: 81.11 kB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.1592, allocations: 0.9259 MB / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/0.1593, allocations: 29.7 kB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.1596, allocations: 276.2 kB / 490.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.1597, allocations: 43.27 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.1597, allocations: 4 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1599, allocations: 374.7 kB / 491.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.1602, allocations: 75.95 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.1604, allocations: 89.59 kB / 491.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.1607, allocations: 96.03 kB / 491.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1607, allocations: 0 / 491.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007176/0.1615, allocations: 252.8 kB / 491.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1615, allocations: 4 kB / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1615, allocations: 0 / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1616, allocations: 4 kB / 491.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.1619, allocations: 47.91 kB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1619, allocations: 4 kB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1621, allocations: 15.98 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.1621, allocations: 4 kB / 491.9 MB, free: 10.73 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.0002142/0.1623, allocations: 221.9 kB / 492.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1624, allocations: 55.25 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/0.163, allocations: 310.7 kB / 492.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1631, allocations: 8 kB / 492.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1631, allocations: 0 / 492.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1631, allocations: 0 / 492.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.1647, allocations: 0.8411 MB / 493.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1647, allocations: 0 / 493.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.165, allocations: 43.97 kB / 493.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.165, allocations: 0 / 493.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.165, allocations: 8 kB / 493.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.165, allocations: 384 / 493.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.165, allocations: 0 / 493.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.1659, allocations: 441.8 kB / 493.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.1661, allocations: 164.3 kB / 493.9 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.1662, allocations: 0 / 493.9 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.1665, allocations: 19.98 kB / 494 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.1666, allocations: 11.98 kB / 494 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1666, allocations: 15.92 kB / 494 MB, free: 8.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.1678, allocations: 0.6825 MB / 494.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1678, allocations: 0 / 494.7 MB, free: 7.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.1684, allocations: 56 kB / 494.7 MB, free: 7.766 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.002276/0.1707, allocations: 1.255 MB / 496 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000596/0.1713, allocations: 179.8 kB / 496.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1713, allocations: 0 / 496.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.1716, allocations: 99.88 kB / 496.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/0.1724, allocations: 74.94 kB / 496.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.1799, allocations: 3.344 MB / 499.7 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.1807, allocations: 0.8734 MB / 0.4888 GB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.1811, allocations: 99.2 kB / 0.4889 GB, free: 1.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.1815, allocations: 175.4 kB / 0.4891 GB, free: 1.715 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1815, allocations: 0 / 0.4891 GB, free: 1.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.2081, allocations: 9.097 MB / 0.498 GB, free: 8.738 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.2084, allocations: 222.1 kB / 0.4982 GB, free: 8.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.182, allocations: 0 / 0.4982 GB, free: 8.496 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat