Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") 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: 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.00118/0.00118, allocations: 204.9 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.575/1.575, allocations: 205.1 MB / 222.6 MB, free: 4.777 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.4595/0.4595, allocations: 43.49 MB / 313.5 MB, free: 8.508 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.001511/0.001512, allocations: 74.55 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.18, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.004208/0.1843, allocations: 1.668 MB / 441.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.1852, allocations: 335.7 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.1853, allocations: 0 / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.1862, allocations: 459.2 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.1866, allocations: 239.5 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1871, allocations: 139.8 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.1874, allocations: 163.6 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1876, allocations: 24.42 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1878, allocations: 103.8 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.1881, allocations: 207.5 kB / 443.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.1881, allocations: 4 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1882, allocations: 27.98 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.1884, allocations: 91.61 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1885, allocations: 99 kB / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.1889, allocations: 250.9 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1889, allocations: 4 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1889, allocations: 0 / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.1889, allocations: 0 / 443.6 MB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009101/0.1898, allocations: 0.6259 MB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1899, allocations: 12.03 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.19, allocations: 40.38 kB / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1903, allocations: 296.2 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1903, allocations: 8.359 kB / 444.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1904, allocations: 8.312 kB / 444.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1906, allocations: 65.59 kB / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1906, allocations: 0 / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1906, allocations: 0 / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1906, allocations: 0 / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1908, allocations: 27.98 kB / 444.7 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.1914, allocations: 396.5 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1916, allocations: 50.56 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1917, allocations: 16.94 kB / 445.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1917, allocations: 4 kB / 445.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1917, allocations: 30.56 kB / 445.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1917, allocations: 0 / 445.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006927/0.1924, allocations: 239.9 kB / 445.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1925, allocations: 51.41 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1936, allocations: 0.8613 MB / 446.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1936, allocations: 25.7 kB / 446.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.1939, allocations: 220.1 kB / 446.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1939, allocations: 15.72 kB / 446.6 MB, free: 7.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.194, allocations: 21.7 kB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.1943, allocations: 358.8 kB / 446.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.1944, allocations: 23.98 kB / 446.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.1944, allocations: 23.92 kB / 447 MB, free: 7.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1946, allocations: 52.81 kB / 447 MB, free: 7.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1946, allocations: 0 / 447 MB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002394/0.1948, allocations: 117.2 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1949, allocations: 8 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1949, allocations: 0 / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.1949, allocations: 0 / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.195, allocations: 19.92 kB / 447.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.195, allocations: 0 / 447.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.1951, allocations: 15.92 kB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1951, allocations: 0 / 447.2 MB, free: 7.238 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 (5): * Single equations (assignments): 5 * 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.0002484/0.1954, allocations: 221.6 kB / 447.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.1955, allocations: 47.44 kB / 447.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.1958, allocations: 141.3 kB / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1958, allocations: 0 / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1958, allocations: 0 / 447.6 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1959, allocations: 3.938 kB / 447.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.1965, allocations: 470.5 kB / 448 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1966, allocations: 8 kB / 448 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1966, allocations: 11.98 kB / 448.1 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1966, allocations: 3.938 kB / 448.1 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1966, allocations: 3.938 kB / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1967, allocations: 0 / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1967, allocations: 4 kB / 448.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.197, allocations: 222.9 kB / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.1971, allocations: 104.6 kB / 448.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1971, allocations: 7.938 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.1972, allocations: 288 / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1973, allocations: 7.984 kB / 448.4 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1973, allocations: 0 / 448.4 MB, free: 5.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006175/0.1979, allocations: 0.6472 MB / 449.1 MB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1979, allocations: 0 / 449.1 MB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1981, allocations: 24 kB / 449.1 MB, free: 5.227 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 (5): * Single equations (assignments): 5 * 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.0009768/0.1991, allocations: 406.9 kB / 449.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.1994, allocations: 55.95 kB / 449.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1994, allocations: 0 / 449.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.1995, allocations: 27.92 kB / 449.6 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.2, allocations: 29.39 kB / 449.6 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2013, allocations: 0.8749 MB / 450.5 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.2019, allocations: 0.83 MB / 451.3 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.202, allocations: 11.98 kB / 451.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.202, allocations: 11.44 kB / 451.3 MB, free: 2.961 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.202, allocations: 0 / 451.3 MB, free: 2.961 MB / 382.1 MB Notification: Performance of Templates: time 0.00539/0.2074, allocations: 1.421 MB / 452.7 MB, free: 1.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches