Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0008347/0.0008347, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003399/0.003399, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.8721/0.8721, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.192e-05, allocations: 8.328 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001951/0.001973, allocations: 1.638 MB / 442.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.002911, allocations: 0.5646 MB / 443.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.002977, allocations: 0 / 443.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.003417, allocations: 459.1 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.003756, allocations: 299.1 kB / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.004026, allocations: 172.1 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004207, allocations: 179.7 kB / 444.2 MB, free: 428 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.004302, allocations: 8 kB / 444.2 MB, free: 420 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.665e-05/0.004399, allocations: 123.7 kB / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.004578, allocations: 243.5 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.004592, allocations: 7.938 kB / 444.5 MB, free: 44 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.004655, allocations: 35.94 kB / 444.6 MB, free: 8 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1826/0.1873, allocations: 83.52 kB / 444.6 MB, free: 44.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.1873, allocations: 39.31 kB / 444.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1876, allocations: 237.8 kB / 444.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1876, allocations: 0 / 444.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1876, allocations: 3.938 kB / 444.9 MB, free: 44.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1876, allocations: 0 / 444.9 MB, free: 44.55 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.0004323/0.1881, allocations: 0.5751 MB / 445.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1881, allocations: 8.812 kB / 445.5 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.1881, allocations: 49.56 kB / 445.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1883, allocations: 244 kB / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1883, allocations: 4.781 kB / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1883, allocations: 8.281 kB / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1884, allocations: 55 kB / 445.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1884, allocations: 3.469 kB / 445.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1884, allocations: 384 / 445.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1884, allocations: 3.938 kB / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.1885, allocations: 32.31 kB / 445.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.1888, allocations: 334.5 kB / 446.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1889, allocations: 43.72 kB / 446.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.1889, allocations: 21.83 kB / 446.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.189, allocations: 2.5 kB / 446.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.189, allocations: 34.3 kB / 446.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.189, allocations: 2.781 kB / 446.3 MB, free: 43.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003516/0.1893, allocations: 242.4 kB / 446.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.1893, allocations: 51.41 kB / 446.6 MB, free: 43.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.1898, allocations: 0.8648 MB / 447.5 MB, free: 43.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.1898, allocations: 28.64 kB / 447.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.1899, allocations: 210.9 kB / 447.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.1899, allocations: 17.89 kB / 447.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.1899, allocations: 18.62 kB / 447.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.19, allocations: 364.5 kB / 448.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.19, allocations: 24.27 kB / 448.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.19, allocations: 23.34 kB / 448.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.1901, allocations: 55.86 kB / 448.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1901, allocations: 3.938 kB / 448.2 MB, free: 42.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001077/0.1902, allocations: 127.7 kB / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1902, allocations: 6.594 kB / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1902, allocations: 0 / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1902, allocations: 2.531 kB / 448.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.628e-05/0.1903, allocations: 14.44 kB / 448.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1903, allocations: 2.906 kB / 448.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.1903, allocations: 5.641 kB / 448.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.1903, allocations: 0 / 448.4 MB, free: 42.75 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.0001005/0.1904, allocations: 221.1 kB / 448.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1904, allocations: 44.38 kB / 448.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.1906, allocations: 149.3 kB / 448.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1906, allocations: 2.969 kB / 448.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1906, allocations: 0 / 448.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1906, allocations: 0 / 448.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1909, allocations: 413.5 kB / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1909, allocations: 0 / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.1909, allocations: 18.88 kB / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1909, allocations: 0 / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.1909, allocations: 3.125 kB / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1909, allocations: 0 / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1909, allocations: 2.625 kB / 449.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.1911, allocations: 225.7 kB / 449.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.1911, allocations: 35.88 kB / 449.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1911, allocations: 2.75 kB / 449.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.1911, allocations: 7.031 kB / 449.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.1912, allocations: 0.5625 kB / 449.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.1912, allocations: 2.469 kB / 449.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003096/0.1915, allocations: 0.6571 MB / 450.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1915, allocations: 3.656 kB / 450.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.1916, allocations: 23.03 kB / 450.2 MB, free: 41.99 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.0006255/0.1923, allocations: 436.5 kB / 450.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.1924, allocations: 57.31 kB / 450.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1924, allocations: 4 kB / 450.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.1924, allocations: 31.11 kB / 450.7 MB, free: 41.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1927, allocations: 25.64 kB / 450.7 MB, free: 41.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.1933, allocations: 0.8392 MB / 451.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.1934, allocations: 219.3 kB / 451.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.1934, allocations: 14.16 kB / 451.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1934, allocations: 0 / 451.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of Templates: time 0.003477/0.1969, allocations: 3.93 MB / 455.7 MB, free: 40.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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: 5.2458056369796395]