Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, 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.001331/0.001331, allocations: 202.5 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.4055/0.4055, allocations: 43.5 MB / 313.5 MB, free: 8.281 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.001508/0.001508, allocations: 63.91 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1831, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00559/0.1888, allocations: 2.018 MB / 441.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1906, allocations: 0.7563 MB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1908, allocations: 0 / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.1914, allocations: 247.4 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1918, allocations: 175.5 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1932, allocations: 0.5771 MB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.1936, allocations: 275.3 kB / 443.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.1938, allocations: 80.62 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.194, allocations: 127.5 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1943, allocations: 187.4 kB / 444.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.1944, allocations: 8 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.1945, allocations: 67.91 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.1947, allocations: 99.66 kB / 444.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1948, allocations: 107 kB / 444.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.1953, allocations: 298.9 kB / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.1953, allocations: 0 / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1953, allocations: 0 / 444.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1953, allocations: 0 / 444.8 MB, free: 9.598 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.001112/0.1965, allocations: 0.6146 MB / 445.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1965, allocations: 8.031 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1966, allocations: 44.38 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.1971, allocations: 314.2 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1971, allocations: 12.38 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.1972, allocations: 12.38 kB / 445.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.1975, allocations: 125.7 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.1975, allocations: 4 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1976, allocations: 4 kB / 445.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1976, allocations: 4 kB / 445.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.1978, allocations: 87.92 kB / 446 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.1988, allocations: 0.5002 MB / 446.5 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.1991, allocations: 114.5 kB / 446.6 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.1992, allocations: 40.84 kB / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1993, allocations: 0 / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1993, allocations: 38.56 kB / 446.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.1993, allocations: 3.938 kB / 446.7 MB, free: 7.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001183/0.2005, allocations: 439.8 kB / 447.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.2006, allocations: 55.41 kB / 447.2 MB, free: 7.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.2012, allocations: 0.5211 MB / 447.7 MB, free: 6.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2013, allocations: 33.7 kB / 447.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2014, allocations: 196.3 kB / 447.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.2015, allocations: 63.17 kB / 448 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.2016, allocations: 29.72 kB / 448 MB, free: 6.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.2018, allocations: 350.8 kB / 448.4 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2019, allocations: 63.95 kB / 448.4 MB, free: 5.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.2021, allocations: 67.95 kB / 448.5 MB, free: 5.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.2024, allocations: 164.1 kB / 448.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2024, allocations: 3.938 kB / 448.7 MB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004778/0.2029, allocations: 229.1 kB / 448.9 MB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2029, allocations: 4 kB / 448.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2029, allocations: 0 / 448.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2029, allocations: 0 / 448.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2031, allocations: 35.97 kB / 448.9 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2031, allocations: 4 kB / 448.9 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.2032, allocations: 11.91 kB / 448.9 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2032, allocations: 4 kB / 449 MB, free: 5.219 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.0001802/0.2034, allocations: 185.6 kB / 449.1 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.2035, allocations: 43.47 kB / 449.2 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.204, allocations: 269 kB / 449.4 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.204, allocations: 7.984 kB / 449.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.204, allocations: 0 / 449.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.204, allocations: 0 / 449.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2052, allocations: 0.6621 MB / 450.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2052, allocations: 0 / 450.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2053, allocations: 39.92 kB / 450.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2053, allocations: 0 / 450.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2053, allocations: 4 kB / 450.2 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2053, allocations: 8 kB / 450.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.2053, allocations: 3.938 kB / 450.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.2058, allocations: 322.9 kB / 450.5 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.2059, allocations: 104.7 kB / 450.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2059, allocations: 4 kB / 450.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.206, allocations: 8 kB / 450.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.2061, allocations: 15.92 kB / 450.6 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2061, allocations: 11.92 kB / 450.6 MB, free: 3.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.2065, allocations: 391.1 kB / 451 MB, free: 3.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2066, allocations: 0 / 451 MB, free: 3.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.2069, allocations: 59.83 kB / 451.1 MB, free: 3.004 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.001817/0.2087, allocations: 0.6963 MB / 451.8 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.2092, allocations: 163.8 kB / 451.9 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2092, allocations: 0 / 451.9 MB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.2094, allocations: 95.88 kB / 452 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.21, allocations: 61.38 kB / 452.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2114, allocations: 0.8009 MB / 452.9 MB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.2121, allocations: 0.8185 MB / 453.7 MB, free: 360 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.2123, allocations: 53.91 kB / 453.7 MB, free: 304 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.2124, allocations: 27.42 kB / 453.8 MB, free: 276 kB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2124, allocations: 0 / 453.8 MB, free: 276 kB / 382.1 MB Notification: Performance of Templates: time 0.2853/0.4977, allocations: 3.149 MB / 456.9 MB, free: 48.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches