Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2531/0.2531, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002177, allocations: 71.67 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1589, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004061/0.163, allocations: 2.04 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1651, allocations: 1.13 MB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1653, allocations: 7.938 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.1658, allocations: 263.1 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.1664, allocations: 259.1 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1679, allocations: 0.6554 MB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.1683, allocations: 339.2 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1685, allocations: 80.98 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1687, allocations: 139.4 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.169, allocations: 223.2 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.1691, allocations: 8 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.1693, allocations: 104.1 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1695, allocations: 91.69 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1696, allocations: 134.9 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.1702, allocations: 362.5 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1702, allocations: 0 / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1702, allocations: 3.938 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1702, allocations: 0 / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009656/0.1712, allocations: 0.6962 MB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1712, allocations: 8.031 kB / 486.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.1713, allocations: 42.73 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1714, allocations: 44.38 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.1718, allocations: 345.9 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1718, allocations: 8.375 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1719, allocations: 16.36 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1722, allocations: 125.6 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1722, allocations: 4 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.1722, allocations: 4 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1722, allocations: 4 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.1724, allocations: 91.86 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.1732, allocations: 0.5314 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1734, allocations: 110.5 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.1735, allocations: 40.83 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1736, allocations: 0 / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1736, allocations: 46.5 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1736, allocations: 0 / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00102/0.1746, allocations: 462 kB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1747, allocations: 51.41 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/0.1753, allocations: 0.5957 MB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1754, allocations: 29.7 kB / 489.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1755, allocations: 220.3 kB / 489.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.1756, allocations: 51.2 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.1757, allocations: 41.7 kB / 489.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1759, allocations: 354.8 kB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.176, allocations: 67.95 kB / 489.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1762, allocations: 63.97 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1765, allocations: 166.7 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1765, allocations: 0 / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000411/0.1769, allocations: 233 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1769, allocations: 4 kB / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1769, allocations: 0 / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.442e-05/0.177, allocations: 0 / 490.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1772, allocations: 35.98 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1772, allocations: 0 / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.1773, allocations: 11.98 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1773, allocations: 4 kB / 490.4 MB, free: 10.69 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 (17): * Single equations (assignments): 17 * 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.0001973/0.1775, allocations: 189.7 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.1776, allocations: 47.44 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/0.1781, allocations: 284 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1782, allocations: 0 / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1782, allocations: 0 / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1782, allocations: 0 / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009216/0.1791, allocations: 0.6972 MB / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1791, allocations: 0 / 491.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1792, allocations: 43.91 kB / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1793, allocations: 0 / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1793, allocations: 8 kB / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1793, allocations: 3.938 kB / 491.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1793, allocations: 4 kB / 491.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1797, allocations: 329.5 kB / 492 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.1798, allocations: 124.6 kB / 492.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.1799, allocations: 3.938 kB / 492.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.18, allocations: 11.94 kB / 492.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.18, allocations: 15.92 kB / 492.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1801, allocations: 8 kB / 492.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004652/0.1805, allocations: 450.8 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1805, allocations: 0 / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1809, allocations: 59.89 kB / 492.6 MB, free: 8.34 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 (17): * Single equations (assignments): 17 * 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.002387/0.1832, allocations: 1.455 MB / 494.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.1837, allocations: 170.4 kB / 494.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1837, allocations: 0 / 494.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.1839, allocations: 95.88 kB / 494.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.1844, allocations: 85.55 kB / 494.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.1884, allocations: 3.38 MB / 497.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1889, allocations: 0.8299 MB / 498.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.189, allocations: 58.25 kB / 498.7 MB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1892, allocations: 139.4 kB / 498.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1892, allocations: 0 / 498.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.2162, allocations: 7.726 MB / 0.4947 GB, free: 10.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.558, allocations: 6.734 kB / 0.4947 GB, free: 10.63 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches