Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003547/0.003547, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8808/0.8808, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.262/0.262, allocations: 34.25 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.834e-05, allocations: 6.281 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.187/0.187, allocations: 1.644 MB / 445.1 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.1877, allocations: 0.5672 MB / 445.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.1878, allocations: 0 / 445.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1882, allocations: 456.5 kB / 446.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.1885, allocations: 300.3 kB / 446.4 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1887, allocations: 166 kB / 446.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1889, allocations: 182.9 kB / 446.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.189, allocations: 12.36 kB / 446.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.1891, allocations: 120.7 kB / 446.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1892, allocations: 238.5 kB / 447.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1893, allocations: 4 kB / 447.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.1893, allocations: 43.8 kB / 447.2 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.1894, allocations: 81.17 kB / 447.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1894, allocations: 43.8 kB / 447.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1896, allocations: 242.3 kB / 447.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1896, allocations: 0 / 447.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1896, allocations: 0 / 447.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1897, allocations: 0 / 447.5 MB, free: 43.28 MB / 410.7 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.000465/0.1901, allocations: 0.5762 MB / 448.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1902, allocations: 11.34 kB / 448.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1902, allocations: 41.88 kB / 448.2 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.1904, allocations: 243.5 kB / 448.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1904, allocations: 7.219 kB / 448.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1904, allocations: 3.188 kB / 448.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1905, allocations: 58.47 kB / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1905, allocations: 192 / 448.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.1905, allocations: 7.453 kB / 448.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1905, allocations: 0 / 448.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.1906, allocations: 27.58 kB / 448.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.1909, allocations: 336.4 kB / 448.8 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.191, allocations: 54.28 kB / 448.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1911, allocations: 14.52 kB / 448.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1911, allocations: 6.875 kB / 448.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.1911, allocations: 33.84 kB / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1911, allocations: 0 / 448.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003864/0.1915, allocations: 253.2 kB / 449.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.1915, allocations: 51.41 kB / 449.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.1919, allocations: 0.8605 MB / 450.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.1919, allocations: 33.7 kB / 450.1 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.192, allocations: 207.4 kB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.192, allocations: 22.7 kB / 450.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.1921, allocations: 18.89 kB / 450.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.724e-05/0.1921, allocations: 361.7 kB / 450.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.1922, allocations: 21.12 kB / 450.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.1922, allocations: 24.36 kB / 450.8 MB, free: 41.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.88e-05/0.1923, allocations: 55.52 kB / 450.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1923, allocations: 7.938 kB / 450.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.1924, allocations: 124.1 kB / 450.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1924, allocations: 7.188 kB / 450.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1924, allocations: 0 / 450.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1924, allocations: 0 / 450.9 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.1924, allocations: 14.52 kB / 451 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1924, allocations: 0 / 451 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.1925, allocations: 2.75 kB / 451 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1925, allocations: 6.781 kB / 451 MB, free: 40.96 MB / 410.7 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.0001034/0.1926, allocations: 220.7 kB / 451.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.1926, allocations: 41.06 kB / 451.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.1928, allocations: 146.4 kB / 451.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1928, allocations: 0 / 451.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1928, allocations: 0 / 451.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1928, allocations: 0 / 451.4 MB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.193, allocations: 413.2 kB / 451.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.193, allocations: 0 / 451.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.1931, allocations: 18.84 kB / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1931, allocations: 0 / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1931, allocations: 4 kB / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1931, allocations: 0 / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1931, allocations: 2.875 kB / 451.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.1932, allocations: 222.2 kB / 452 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.1932, allocations: 35.38 kB / 452 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1932, allocations: 4 kB / 452.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.1932, allocations: 6.844 kB / 452.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1933, allocations: 10.08 kB / 452.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1933, allocations: 3.812 kB / 452.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003142/0.1936, allocations: 0.6509 MB / 452.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1936, allocations: 0 / 452.7 MB, free: 39.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.1938, allocations: 27.53 kB / 452.8 MB, free: 39.98 MB / 410.7 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.0006406/0.1944, allocations: 439.7 kB / 453.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1945, allocations: 52.48 kB / 453.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1945, allocations: 0 / 453.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.1946, allocations: 28 kB / 453.3 MB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.1948, allocations: 22.83 kB / 453.3 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.1955, allocations: 0.839 MB / 454.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1956, allocations: 221.8 kB / 454.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.1956, allocations: 14.12 kB / 454.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1956, allocations: 4 kB / 454.4 MB, free: 39.31 MB / 410.7 MB Notification: Performance of Templates: time 0.003778/0.1994, allocations: 3.926 MB / 458.3 MB, free: 38.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.592148995026946]