Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001423/0.001423, allocations: 103.3 kB / 17.21 MB, free: 6.266 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.001318/0.001319, allocations: 190 kB / 18.12 MB, free: 5.363 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.468/1.468, allocations: 222.9 MB / 241.8 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 44.17 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 73.38 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004926/0.1761, allocations: 1.692 MB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1774, allocations: 435.2 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1775, allocations: 0 / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.1783, allocations: 447.2 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1788, allocations: 251.4 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.1794, allocations: 118.7 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1797, allocations: 163.6 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1799, allocations: 23.98 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.1801, allocations: 111.7 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.1804, allocations: 207.5 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1805, allocations: 0 / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1806, allocations: 47.98 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1808, allocations: 83.67 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1809, allocations: 99 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1813, allocations: 271.2 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1813, allocations: 0 / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1813, allocations: 0 / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1813, allocations: 0 / 472.5 MB, free: 10.81 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.001188/0.1825, allocations: 0.6531 MB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/0.1826, allocations: 8.031 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.383e-05/0.1827, allocations: 38.73 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1828, allocations: 44.38 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.1832, allocations: 296.2 kB / 473.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1833, allocations: 4.375 kB / 473.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.1833, allocations: 12.28 kB / 473.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1836, allocations: 65.55 kB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1836, allocations: 0 / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1836, allocations: 0 / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1836, allocations: 4 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1838, allocations: 31.97 kB / 473.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.1845, allocations: 412.6 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1848, allocations: 50.56 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.1849, allocations: 24.97 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.1849, allocations: 0 / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1849, allocations: 42.55 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.185, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001682/0.1866, allocations: 471.4 kB / 474.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1867, allocations: 51.41 kB / 474.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.1876, allocations: 0.8613 MB / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1877, allocations: 29.7 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1879, allocations: 215.9 kB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.1879, allocations: 39.44 kB / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.188, allocations: 25.72 kB / 475.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1881, allocations: 366.8 kB / 476.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1883, allocations: 35.97 kB / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1884, allocations: 44.53 kB / 476.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.1887, allocations: 96.81 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1887, allocations: 3.984 kB / 476.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003765/0.189, allocations: 181 kB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1891, allocations: 4 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1891, allocations: 4 kB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1891, allocations: 3.938 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1892, allocations: 27.98 kB / 476.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1893, allocations: 0 / 476.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.1893, allocations: 11.98 kB / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1894, allocations: 4 kB / 476.6 MB, free: 6.461 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.1896, allocations: 221.7 kB / 476.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.1897, allocations: 43.53 kB / 476.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.1902, allocations: 197.3 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1902, allocations: 7.938 kB / 477.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1902, allocations: 0 / 477.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1902, allocations: 3.984 kB / 477.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.191, allocations: 0.5663 MB / 477.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1911, allocations: 0 / 477.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.1912, allocations: 23.98 kB / 477.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1912, allocations: 0 / 477.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1912, allocations: 8.062 kB / 477.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1912, allocations: 4 kB / 477.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1912, allocations: 3.938 kB / 477.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.1916, allocations: 280.5 kB / 478 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.1917, allocations: 120.5 kB / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1917, allocations: 3.984 kB / 478.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1919, allocations: 12 kB / 478.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1919, allocations: 7.984 kB / 478.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1919, allocations: 4.094 kB / 478.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006202/0.1926, allocations: 0.6588 MB / 478.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1926, allocations: 0 / 478.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1929, allocations: 32 kB / 478.8 MB, free: 4.16 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 (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.001683/0.1946, allocations: 1.176 MB / 480 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1949, allocations: 99.94 kB / 480.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1949, allocations: 8 kB / 480.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1951, allocations: 59.89 kB / 480.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1955, allocations: 23.8 kB / 480.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.1998, allocations: 3.525 MB / 483.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.2003, allocations: 0.8302 MB / 484.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.019e-05/0.2004, allocations: 12.55 kB / 484.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.2006, allocations: 107.6 kB / 484.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2006, allocations: 0 / 484.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.2182, allocations: 6.132 MB / 490.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.2184, allocations: 249.8 kB / 491 MB, free: 8.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.108, allocations: 0 / 491 MB, free: 8.051 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches