Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5035/0.5035, allocations: 43.5 MB / 313.5 MB, free: 8.523 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 70.56 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1706, allocations: 57.78 MB / 439.8 MB, free: 14.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.005127/0.1758, allocations: 1.897 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1775, allocations: 0.6316 MB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1777, allocations: 0 / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.1785, allocations: 235.5 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1789, allocations: 175.5 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1801, allocations: 415.2 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.1806, allocations: 239.3 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.1809, allocations: 52.36 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1811, allocations: 107.5 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.1814, allocations: 175.4 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1814, allocations: 4 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.1816, allocations: 47.97 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1818, allocations: 91.61 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.182, allocations: 87.23 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.1824, allocations: 247.3 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1824, allocations: 0 / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1824, allocations: 0 / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1825, allocations: 0 / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001001/0.1835, allocations: 0.5913 MB / 444.8 MB, free: 9.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.1835, allocations: 15.97 kB / 444.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.1836, allocations: 32.47 kB / 444.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.184, allocations: 294.3 kB / 445.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.184, allocations: 8.375 kB / 445.1 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1841, allocations: 4.375 kB / 445.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1843, allocations: 85.72 kB / 445.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1843, allocations: 0 / 445.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1843, allocations: 4 kB / 445.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1844, allocations: 0 / 445.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1845, allocations: 51.91 kB / 445.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.1852, allocations: 424.6 kB / 445.7 MB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1853, allocations: 54.5 kB / 445.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.1854, allocations: 28.97 kB / 445.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.1855, allocations: 0 / 445.8 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1855, allocations: 34.56 kB / 445.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 7.32e-07/0.1855, allocations: 0 / 445.8 MB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003691/0.1859, allocations: 129.2 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.1859, allocations: 59.34 kB / 446 MB, free: 8.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006058/0.1866, allocations: 0.5172 MB / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1866, allocations: 29.7 kB / 446.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1868, allocations: 184 kB / 446.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.1868, allocations: 15.75 kB / 446.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.1869, allocations: 29.7 kB / 446.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1871, allocations: 338.8 kB / 447.1 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.1872, allocations: 19.98 kB / 447.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.1872, allocations: 19.92 kB / 447.1 MB, free: 7.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1874, allocations: 48.84 kB / 447.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1874, allocations: 3.938 kB / 447.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002723/0.1876, allocations: 113.6 kB / 447.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.1877, allocations: 8 kB / 447.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1877, allocations: 4 kB / 447.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1877, allocations: 0 / 447.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1879, allocations: 23.92 kB / 447.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1879, allocations: 0 / 447.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.1879, allocations: 4 kB / 447.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1879, allocations: 0 / 447.3 MB, free: 7.117 MB / 382.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 (6): * Single equations (assignments): 6 * 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.0002139/0.1882, allocations: 161.8 kB / 447.5 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.1882, allocations: 35.53 kB / 447.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.1886, allocations: 136.6 kB / 447.6 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1886, allocations: 3.938 kB / 447.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1886, allocations: 0 / 447.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1886, allocations: 3.984 kB / 447.6 MB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.189, allocations: 273.5 kB / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.189, allocations: 0 / 447.9 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1891, allocations: 8 kB / 447.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1891, allocations: 3.984 kB / 447.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1891, allocations: 8 kB / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.1892, allocations: 3.938 kB / 447.9 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1892, allocations: 0 / 447.9 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.1895, allocations: 207.1 kB / 448.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.1896, allocations: 96.73 kB / 448.2 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1896, allocations: 4 kB / 448.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.1897, allocations: 3.938 kB / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1898, allocations: 11.98 kB / 448.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1898, allocations: 4 kB / 448.3 MB, free: 6.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004322/0.1902, allocations: 387.1 kB / 448.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1902, allocations: 0 / 448.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1905, allocations: 35.89 kB / 448.7 MB, free: 5.652 MB / 382.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 (6): * Single equations (assignments): 6 * 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.001507/0.192, allocations: 0.593 MB / 449.3 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.1923, allocations: 51.97 kB / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1923, allocations: 0 / 449.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.1923, allocations: 31.86 kB / 449.3 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.193, allocations: 69.22 kB / 449.4 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1941, allocations: 0.6438 MB / 450.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.1945, allocations: 0.7907 MB / 450.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.507e-05/0.1946, allocations: 29.52 kB / 450.9 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.1947, allocations: 23.42 kB / 450.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1947, allocations: 0 / 450.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of Templates: time 0.006473/0.2012, allocations: 2.533 MB / 453.4 MB, free: 0.875 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches