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.001149/0.001149, allocations: 102 kB / 15.98 MB, free: 6.344 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.001323/0.001323, allocations: 197.2 kB / 16.91 MB, free: 6.184 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.523/1.523, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4191/0.4191, allocations: 43.5 MB / 313.6 MB, free: 8.328 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.002313/0.002313, allocations: 63.91 kB / 382.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1694, allocations: 57.78 MB / 440 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004556/0.174, allocations: 2.014 MB / 442 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1755, allocations: 0.7447 MB / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1757, allocations: 0 / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.1763, allocations: 255.4 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1767, allocations: 175.5 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.178, allocations: 0.5694 MB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004174/0.1785, allocations: 299.3 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1787, allocations: 80.69 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1789, allocations: 139.4 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1791, allocations: 203.3 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1792, allocations: 8 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1793, allocations: 67.97 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.1795, allocations: 103.7 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1796, allocations: 111 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.18, allocations: 298.9 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.18, allocations: 0 / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.18, allocations: 0 / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.18, allocations: 0 / 445 MB, free: 9.457 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.000839/0.1809, allocations: 0.6224 MB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.1809, allocations: 15.89 kB / 445.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.181, allocations: 44.31 kB / 445.7 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.1814, allocations: 318.2 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1814, allocations: 8.375 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1815, allocations: 12.38 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1818, allocations: 129.7 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1818, allocations: 0 / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1818, allocations: 3.984 kB / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1818, allocations: 4 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.1821, allocations: 99.86 kB / 446.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.1828, allocations: 496.3 kB / 446.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.183, allocations: 110.5 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.1831, allocations: 32.84 kB / 446.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.1831, allocations: 7.984 kB / 446.9 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1832, allocations: 46.48 kB / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1832, allocations: 0 / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001008/0.1842, allocations: 439.9 kB / 447.4 MB, free: 6.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1842, allocations: 51.41 kB / 447.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/0.1848, allocations: 0.525 MB / 448 MB, free: 6.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1848, allocations: 29.7 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.185, allocations: 196.3 kB / 448.2 MB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.185, allocations: 63.17 kB / 448.2 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.1851, allocations: 33.72 kB / 448.3 MB, free: 6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1853, allocations: 350.8 kB / 448.6 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1854, allocations: 59.95 kB / 448.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1855, allocations: 67.95 kB / 448.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.1858, allocations: 164 kB / 448.9 MB, free: 5.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.1858, allocations: 3.938 kB / 448.9 MB, free: 5.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003727/0.1862, allocations: 225.1 kB / 449.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1862, allocations: 4 kB / 449.1 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1862, allocations: 4 kB / 449.1 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1863, allocations: 0 / 449.1 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1865, allocations: 39.97 kB / 449.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1865, allocations: 0 / 449.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.1866, allocations: 11.91 kB / 449.2 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1866, allocations: 8 kB / 449.2 MB, free: 5.066 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002404/0.1868, allocations: 181.7 kB / 449.4 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.1869, allocations: 35.53 kB / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.1874, allocations: 280.9 kB / 449.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1875, allocations: 3.938 kB / 449.7 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1875, allocations: 8 kB / 449.7 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1875, allocations: 0 / 449.7 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/0.1885, allocations: 0.6621 MB / 450.4 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1885, allocations: 0 / 450.4 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1886, allocations: 31.92 kB / 450.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1886, allocations: 4 kB / 450.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1887, allocations: 4 kB / 450.4 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1887, allocations: 0 / 450.4 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1887, allocations: 3.938 kB / 450.4 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.1892, allocations: 334.8 kB / 450.7 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1893, allocations: 100.7 kB / 450.8 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.1894, allocations: 4 kB / 450.8 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.1895, allocations: 12 kB / 450.8 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.1896, allocations: 19.91 kB / 450.9 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.1896, allocations: 4 kB / 450.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005261/0.1901, allocations: 395.1 kB / 451.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1901, allocations: 0 / 451.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1905, allocations: 55.89 kB / 451.3 MB, free: 2.852 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 (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.002131/0.1926, allocations: 0.6968 MB / 452 MB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.1932, allocations: 171.8 kB / 452.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1932, allocations: 0 / 452.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1933, allocations: 87.89 kB / 452.3 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.1941, allocations: 81.19 kB / 452.3 MB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1956, allocations: 0.8108 MB / 453.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.1961, allocations: 0.8143 MB / 454 MB, free: 176 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1963, allocations: 53.91 kB / 454 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.1964, allocations: 31.44 kB / 454 MB, free: 88 kB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1964, allocations: 0 / 454 MB, free: 88 kB / 382.1 MB Notification: Performance of Templates: time 0.2973/0.4937, allocations: 3.206 MB / 457.2 MB, free: 47.95 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