Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001988, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 77.16 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1653, allocations: 62.45 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00373/0.1691, allocations: 1.736 MB / 481.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1703, allocations: 0.5845 MB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.1704, allocations: 0 / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1707, allocations: 59.8 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.1711, allocations: 75.8 kB / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1716, allocations: 175.5 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1718, allocations: 83.77 kB / 482.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1719, allocations: 20.2 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.172, allocations: 39.83 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1722, allocations: 47.83 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1722, allocations: 4 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1723, allocations: 51.98 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.1724, allocations: 19.92 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.176e-05/0.1725, allocations: 35.73 kB / 482.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1727, allocations: 123.8 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.1727, allocations: 3.984 kB / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1728, allocations: 0 / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1728, allocations: 0 / 482.4 MB, free: 2.574 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.0006686/0.1734, allocations: 423 kB / 482.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1735, allocations: 12.88 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1736, allocations: 34.75 kB / 482.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.1736, allocations: 8.844 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1739, allocations: 208.8 kB / 483.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1739, allocations: 4.375 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.174, allocations: 4.375 kB / 483.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1742, allocations: 69.55 kB / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1742, allocations: 0 / 483.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1742, allocations: 8 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1742, allocations: 0 / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1744, allocations: 43.95 kB / 483.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.175, allocations: 328.6 kB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.1752, allocations: 62.48 kB / 483.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.1753, allocations: 32.97 kB / 483.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1754, allocations: 3.984 kB / 483.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1754, allocations: 30.66 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.1754, allocations: 3.938 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001573/0.177, allocations: 433.1 kB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.177, allocations: 59.34 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1772, allocations: 191.3 kB / 484.3 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1773, allocations: 29.7 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.1773, allocations: 108 kB / 484.5 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1774, allocations: 31.55 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.1774, allocations: 29.72 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1776, allocations: 322.8 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.1777, allocations: 55.95 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1778, allocations: 51.95 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1781, allocations: 136.7 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1781, allocations: 0 / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003695/0.1785, allocations: 161.4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1785, allocations: 4 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1786, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1786, allocations: 7.922 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1787, allocations: 31.98 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1787, allocations: 0 / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1788, allocations: 7.984 kB / 485.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1788, allocations: 4 kB / 485.3 MB, free: 15.46 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 (11): * Single equations (assignments): 11 * 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.0001248/0.1789, allocations: 137.7 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.179, allocations: 11.81 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.1794, allocations: 190.9 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.1794, allocations: 7.938 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1794, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.1794, allocations: 3.984 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.1802, allocations: 0.5 MB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1802, allocations: 0 / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1803, allocations: 28.16 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1803, allocations: 3.938 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1803, allocations: 12 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1803, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1803, allocations: 0 / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.1807, allocations: 281.4 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.1808, allocations: 89 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1808, allocations: 4.094 kB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.1809, allocations: 15.92 kB / 486.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.181, allocations: 19.92 kB / 486.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.181, allocations: 0 / 486.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1811, allocations: 152.9 kB / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1811, allocations: 0 / 486.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.1814, allocations: 35.89 kB / 486.8 MB, free: 13.87 MB / 366.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 (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.00178/0.1832, allocations: 1.144 MB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1836, allocations: 131.8 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1836, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.1838, allocations: 67.89 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1842, allocations: 20.12 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.187, allocations: 1.939 MB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1874, allocations: 0.72 MB / 490.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1875, allocations: 36.38 kB / 490.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.1876, allocations: 39.42 kB / 490.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1876, allocations: 0 / 490.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.2027, allocations: 3.245 MB / 494.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.2029, allocations: 235.5 kB / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.08, allocations: 0 / 494.3 MB, free: 6.383 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches