Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 99.41 kB / 17.01 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 179.3 kB / 17.89 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 44.22 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 9.031 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 61.93 MB / 471.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002864/0.1714, allocations: 1.334 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1724, allocations: 379.6 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.1725, allocations: 4 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1728, allocations: 55.86 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.173, allocations: 51.81 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1734, allocations: 117.8 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1736, allocations: 59.83 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1737, allocations: 12 kB / 473.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.1738, allocations: 35.83 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1739, allocations: 35.84 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.174, allocations: 8 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1741, allocations: 35.98 kB / 473.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.1742, allocations: 23.91 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.1742, allocations: 33.7 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1745, allocations: 80.05 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1745, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1745, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1745, allocations: 0 / 473.9 MB, free: 11.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006468/0.1751, allocations: 403 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.1752, allocations: 8.031 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.1753, allocations: 38.56 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.1753, allocations: 7.906 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1756, allocations: 190.9 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1756, allocations: 7.938 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1756, allocations: 7.953 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1759, allocations: 77.59 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1759, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1759, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1759, allocations: 0 / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1762, allocations: 47.97 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.1767, allocations: 316.6 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.177, allocations: 58.55 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.657e-05/0.1771, allocations: 28.97 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1771, allocations: 4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.1771, allocations: 30.66 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.1771, allocations: 3.938 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001415/0.1786, allocations: 468.8 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1786, allocations: 55.41 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1788, allocations: 188.4 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1788, allocations: 29.7 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1789, allocations: 104.1 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1789, allocations: 35.41 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.179, allocations: 4 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1791, allocations: 326.8 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1792, allocations: 47.95 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1793, allocations: 51.97 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1794, allocations: 51.98 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1795, allocations: 0 / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003009/0.1798, allocations: 169.7 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1798, allocations: 4 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1798, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1798, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1799, allocations: 31.98 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1799, allocations: 3.984 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.18, allocations: 23.94 kB / 476.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.18, allocations: 4 kB / 476.7 MB, free: 8.391 MB / 350.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 (11): * Single equations (assignments): 11 * 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 9.536e-05/0.1801, allocations: 130.3 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.1802, allocations: 11.81 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.1806, allocations: 166.9 kB / 477 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1806, allocations: 15.92 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1806, allocations: 3.984 kB / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1806, allocations: 0 / 477 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.1813, allocations: 491.9 kB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1813, allocations: 11.94 kB / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.1814, allocations: 27.98 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1814, allocations: 0 / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1814, allocations: 0 / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1814, allocations: 16 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1814, allocations: 3.938 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.1818, allocations: 257.1 kB / 477.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.1818, allocations: 92.91 kB / 477.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1819, allocations: 4 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.182, allocations: 15.98 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.182, allocations: 15.94 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.182, allocations: 8 kB / 477.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1821, allocations: 146.8 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1822, allocations: 0 / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1824, allocations: 20 kB / 478.1 MB, free: 6.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001539/0.184, allocations: 1.151 MB / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1843, allocations: 115.9 kB / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1843, allocations: 0 / 479.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1845, allocations: 68.03 kB / 479.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1848, allocations: 22.75 kB / 479.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.1862, allocations: 0.8528 MB / 480.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1865, allocations: 0.7041 MB / 481 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.1866, allocations: 28.33 kB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.1867, allocations: 35.42 kB / 481.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1867, allocations: 0 / 481.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.2, allocations: 2.806 MB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.2002, allocations: 216.7 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.034, allocations: 4.062 kB / 484.1 MB, free: 1.039 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat does not exist to compare? outputFormat=mat