Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 88.19 kB / 15.7 MB, free: 460 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.002175/0.002176, allocations: 171.6 kB / 16.58 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 2.046/2.046, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.4508/0.4508, allocations: 43.59 MB / 314.6 MB, free: 9.02 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.0006604/0.0006605, allocations: 19.98 kB / 384 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1719, allocations: 58.86 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003003/0.175, allocations: 1.61 MB / 444.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1764, allocations: 0.7216 MB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1765, allocations: 7.938 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.1771, allocations: 243.4 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.1775, allocations: 167.5 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1788, allocations: 0.5577 MB / 446.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.1792, allocations: 259.3 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.1794, allocations: 56.7 kB / 446.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1796, allocations: 115.5 kB / 446.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.1799, allocations: 159.4 kB / 446.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.1799, allocations: 4 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.18, allocations: 59.84 kB / 446.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1802, allocations: 87.73 kB / 446.8 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.1803, allocations: 61.52 kB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1806, allocations: 215.6 kB / 447.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1806, allocations: 3.938 kB / 447.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1806, allocations: 0 / 447.1 MB, free: 8.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.1806, allocations: 0 / 447.1 MB, free: 8.93 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008462/0.1815, allocations: 0.5835 MB / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1815, allocations: 8.031 kB / 447.7 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.1816, allocations: 47.38 kB / 447.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.182, allocations: 293.4 kB / 448 MB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1821, allocations: 8 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.1821, allocations: 16 kB / 448.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1824, allocations: 133.4 kB / 448.2 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1825, allocations: 4 kB / 448.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1825, allocations: 0 / 448.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1825, allocations: 4 kB / 448.2 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1827, allocations: 99.89 kB / 448.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.1835, allocations: 0.4925 MB / 448.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1837, allocations: 114.5 kB / 448.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.1838, allocations: 44.83 kB / 448.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.1839, allocations: 7.984 kB / 449 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1839, allocations: 34.56 kB / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1839, allocations: 0 / 449 MB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001033/0.185, allocations: 448 kB / 449.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.185, allocations: 55.36 kB / 449.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.1856, allocations: 0.5249 MB / 450 MB, free: 5.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1856, allocations: 33.7 kB / 450 MB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1858, allocations: 196.3 kB / 450.2 MB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.1859, allocations: 59.17 kB / 450.3 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.1859, allocations: 4 kB / 450.3 MB, free: 5.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1861, allocations: 350.8 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1862, allocations: 67.95 kB / 450.7 MB, free: 5.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1863, allocations: 71.91 kB / 450.8 MB, free: 5.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1865, allocations: 83.31 kB / 450.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1865, allocations: 0 / 450.9 MB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003587/0.1869, allocations: 225.1 kB / 451.1 MB, free: 4.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1869, allocations: 12 kB / 451.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1869, allocations: 3.938 kB / 451.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.187, allocations: 0 / 451.1 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1871, allocations: 43.91 kB / 451.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1871, allocations: 4 kB / 451.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.1872, allocations: 7.953 kB / 451.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1872, allocations: 4 kB / 451.1 MB, free: 4.672 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.1874, allocations: 185.8 kB / 451.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1875, allocations: 35.53 kB / 451.4 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.188, allocations: 289.2 kB / 451.6 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.188, allocations: 0 / 451.6 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1881, allocations: 4 kB / 451.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1881, allocations: 0 / 451.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.1889, allocations: 0.6734 MB / 452.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.189, allocations: 8 kB / 452.3 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.1891, allocations: 35.98 kB / 452.4 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1891, allocations: 0 / 452.4 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1891, allocations: 7.953 kB / 452.4 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1891, allocations: 0 / 452.4 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1891, allocations: 3.984 kB / 452.4 MB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.1895, allocations: 334.9 kB / 452.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.1896, allocations: 116.6 kB / 452.8 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1897, allocations: 4 kB / 452.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.1898, allocations: 11.94 kB / 452.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.1898, allocations: 15.98 kB / 452.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1899, allocations: 4 kB / 452.9 MB, free: 2.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.1903, allocations: 395.1 kB / 453.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1903, allocations: 0 / 453.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1906, allocations: 55.89 kB / 453.3 MB, free: 2.418 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/0.1923, allocations: 0.6919 MB / 454 MB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.1927, allocations: 175.8 kB / 454.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1927, allocations: 0 / 454.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1929, allocations: 91.89 kB / 454.2 MB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.1934, allocations: 65.36 kB / 454.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1945, allocations: 0.7633 MB / 455.1 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2534/0.4479, allocations: 0.8108 MB / 455.9 MB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.4481, allocations: 50.05 kB / 455.9 MB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.4482, allocations: 31.47 kB / 456 MB, free: 45.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4482, allocations: 0 / 456 MB, free: 45.77 MB / 382.1 MB Notification: Performance of Templates: time 0.00629/0.4545, allocations: 3.055 MB / 459 MB, free: 45.59 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches