Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006887/0.006887, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001328/0.001327, allocations: 194.1 kB / 16.79 MB, free: 6.238 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.695/1.695, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.4806/0.4806, allocations: 43.5 MB / 313.5 MB, free: 8.258 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.00215/0.00215, allocations: 63.91 kB / 382 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1761, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.005196/0.1814, allocations: 2.01 MB / 441.8 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.183, allocations: 0.6588 MB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002981/0.1834, allocations: 0 / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.1842, allocations: 247.4 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.1848, allocations: 179.5 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.186, allocations: 427.2 kB / 443.3 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.1864, allocations: 267.2 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.1866, allocations: 60.92 kB / 443.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1867, allocations: 111.5 kB / 443.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.187, allocations: 199.3 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.187, allocations: 4 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1872, allocations: 63.97 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1874, allocations: 79.75 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1875, allocations: 111 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.1879, allocations: 279 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1879, allocations: 0 / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1879, allocations: 8 kB / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.188, allocations: 0 / 444.5 MB, free: 9.918 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.0008554/0.1888, allocations: 0.6107 MB / 445.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1889, allocations: 8.031 kB / 445.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.189, allocations: 36.47 kB / 445.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.1894, allocations: 306.2 kB / 445.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1894, allocations: 8.312 kB / 445.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1895, allocations: 12.38 kB / 445.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.1897, allocations: 113.7 kB / 445.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1898, allocations: 0 / 445.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.1898, allocations: 8 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1898, allocations: 0 / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.19, allocations: 71.89 kB / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.1908, allocations: 480.3 kB / 446.1 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.191, allocations: 94.53 kB / 446.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.1911, allocations: 32.84 kB / 446.2 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1912, allocations: 0 / 446.2 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.1912, allocations: 42.5 kB / 446.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.1912, allocations: 0 / 446.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009557/0.1922, allocations: 380.1 kB / 446.6 MB, free: 7.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1922, allocations: 51.41 kB / 446.7 MB, free: 7.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.1928, allocations: 0.521 MB / 447.2 MB, free: 6.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1928, allocations: 29.7 kB / 447.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.193, allocations: 196.3 kB / 447.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.218e-05/0.193, allocations: 51.17 kB / 447.5 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.1931, allocations: 37.7 kB / 447.5 MB, free: 6.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1933, allocations: 350.8 kB / 447.9 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1934, allocations: 43.97 kB / 447.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.1935, allocations: 47.98 kB / 447.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1937, allocations: 128.1 kB / 448.1 MB, free: 6.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1937, allocations: 3.938 kB / 448.1 MB, free: 6.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000335/0.1941, allocations: 193 kB / 448.3 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1941, allocations: 4 kB / 448.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1941, allocations: 0 / 448.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1941, allocations: 7.938 kB / 448.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1943, allocations: 35.97 kB / 448.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1943, allocations: 0 / 448.3 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.1944, allocations: 7.938 kB / 448.3 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1944, allocations: 12 kB / 448.3 MB, free: 5.824 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.0001519/0.1946, allocations: 181.7 kB / 448.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1946, allocations: 35.53 kB / 448.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.1951, allocations: 225.3 kB / 448.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1951, allocations: 7.984 kB / 448.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1951, allocations: 0 / 448.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1951, allocations: 3.938 kB / 448.8 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008777/0.196, allocations: 0.6109 MB / 449.4 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.196, allocations: 0 / 449.4 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1961, allocations: 35.92 kB / 449.4 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1961, allocations: 4 kB / 449.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1961, allocations: 4 kB / 449.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1961, allocations: 4 kB / 449.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1961, allocations: 7.922 kB / 449.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.1965, allocations: 290.9 kB / 449.7 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1966, allocations: 104.7 kB / 449.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1966, allocations: 4 kB / 449.8 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.1967, allocations: 4 kB / 449.8 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.1968, allocations: 27.91 kB / 449.9 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1968, allocations: 4 kB / 449.9 MB, free: 4.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000404/0.1972, allocations: 387.1 kB / 450.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1972, allocations: 0 / 450.2 MB, free: 3.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000295/0.1975, allocations: 47.98 kB / 450.3 MB, free: 3.758 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.001658/0.1992, allocations: 0.6925 MB / 451 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.1995, allocations: 139.7 kB / 451.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1996, allocations: 0 / 451.1 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1997, allocations: 75.91 kB / 451.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.2003, allocations: 73.3 kB / 451.3 MB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2013, allocations: 0.758 MB / 452 MB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.2018, allocations: 0.8025 MB / 452.8 MB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.2019, allocations: 41.92 kB / 452.9 MB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.202, allocations: 27.42 kB / 452.9 MB, free: 1.129 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.202, allocations: 0 / 452.9 MB, free: 1.129 MB / 382.1 MB Notification: Performance of Templates: time 0.2432/0.4452, allocations: 3.031 MB / 455.9 MB, free: 48.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches