Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001612/0.001612, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002806/0.002806, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.1 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 75.66 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1552, allocations: 62.43 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.005722/0.161, allocations: 2.1 MB / 481.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.1639, allocations: 1.001 MB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.1641, allocations: 4 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.1648, allocations: 251.4 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.1656, allocations: 227.4 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1673, allocations: 464.5 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.168, allocations: 307.2 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.1684, allocations: 60.98 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.1687, allocations: 127.4 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.1692, allocations: 207.2 kB / 484.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.1692, allocations: 4 kB / 484.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1696, allocations: 99.91 kB / 484.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.1698, allocations: 91.66 kB / 484.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.17, allocations: 126.9 kB / 484.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.1706, allocations: 342.7 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1706, allocations: 0 / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.469e-06/0.1706, allocations: 7.984 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.1706, allocations: 0 / 484.8 MB, free: 228 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001372/0.172, allocations: 0.6769 MB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/0.1721, allocations: 8.875 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.1722, allocations: 46.73 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1723, allocations: 44.38 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.1729, allocations: 338 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.173, allocations: 8.375 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.173, allocations: 16.38 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.1734, allocations: 109.6 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1734, allocations: 0 / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.1734, allocations: 7.984 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1734, allocations: 4 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.1737, allocations: 71.89 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1747, allocations: 0.4925 MB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.175, allocations: 98.47 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.1751, allocations: 36.84 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1752, allocations: 0 / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1752, allocations: 42.48 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1752, allocations: 4 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001429/0.1767, allocations: 391.8 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1767, allocations: 55.41 kB / 487.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1778, allocations: 0.5877 MB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1778, allocations: 33.7 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.1781, allocations: 212.3 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.1781, allocations: 63.11 kB / 488.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.1782, allocations: 33.7 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.1785, allocations: 350.8 kB / 488.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1786, allocations: 51.97 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1788, allocations: 51.97 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.1792, allocations: 119 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1792, allocations: 4 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005498/0.1798, allocations: 197.1 kB / 488.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1798, allocations: 10.03 kB / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1798, allocations: 0 / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1799, allocations: 3.938 kB / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.1801, allocations: 35.92 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1801, allocations: 3.938 kB / 488.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1802, allocations: 15.89 kB / 488.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1803, allocations: 8 kB / 488.9 MB, free: 11.8 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.0002404/0.1805, allocations: 177.8 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1806, allocations: 43.47 kB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.1813, allocations: 237.6 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1813, allocations: 0 / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.1814, allocations: 8 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1814, allocations: 4 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1825, allocations: 0.6426 MB / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1825, allocations: 0 / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1827, allocations: 35.91 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1827, allocations: 4 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.1827, allocations: 4 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1828, allocations: 3.938 kB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1828, allocations: 0 / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.1833, allocations: 301.8 kB / 490.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1835, allocations: 120.6 kB / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.1835, allocations: 4 kB / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1837, allocations: 11.94 kB / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.1838, allocations: 15.98 kB / 490.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1838, allocations: 4 kB / 490.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006867/0.1845, allocations: 443.1 kB / 491 MB, free: 9.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1845, allocations: 0 / 491 MB, free: 9.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.185, allocations: 47.98 kB / 491 MB, free: 9.617 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.002736/0.1877, allocations: 1.426 MB / 492.4 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.1881, allocations: 138.5 kB / 492.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1881, allocations: 0 / 492.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1882, allocations: 71.91 kB / 492.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.1888, allocations: 77.8 kB / 492.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.1936, allocations: 3.283 MB / 496 MB, free: 4.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.1942, allocations: 0.8185 MB / 496.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.1945, allocations: 46.23 kB / 496.9 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.1948, allocations: 139.4 kB / 497 MB, free: 3.777 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1948, allocations: 0 / 497 MB, free: 3.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.2252, allocations: 7.264 MB / 0.4924 GB, free: 12.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/0.2256, allocations: 236.5 kB / 0.4927 GB, free: 12.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.399, allocations: 3.5 kB / 0.4927 GB, free: 12.34 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches