Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, allocations: 109.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.588/1.588, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2425/0.2425, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003189/0.003189, allocations: 75.88 kB / 0.4924 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.182, allocations: 65.99 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003247/0.1853, allocations: 1.606 MB / 0.5584 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1864, allocations: 0.5488 MB / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.1864, allocations: 0 / 0.5589 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1866, allocations: 23.86 kB / 0.5589 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1869, allocations: 83.61 kB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1872, allocations: 118.9 kB / 0.5591 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1874, allocations: 55.84 kB / 0.5592 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1875, allocations: 15.98 kB / 0.5592 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.1875, allocations: 19.92 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.1876, allocations: 31.78 kB / 0.5593 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.1876, allocations: 0 / 0.5593 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.1877, allocations: 32 kB / 0.5593 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.1878, allocations: 15.92 kB / 0.5593 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.1878, allocations: 23.81 kB / 0.5593 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.188, allocations: 91.58 kB / 0.5594 GB, free: 3.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.188, allocations: 4 kB / 0.5594 GB, free: 3.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.188, allocations: 0 / 0.5594 GB, free: 3.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.188, allocations: 0 / 0.5594 GB, free: 3.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006229/0.1886, allocations: 398.9 kB / 0.5598 GB, free: 2.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1887, allocations: 8.031 kB / 0.5598 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.1887, allocations: 16.84 kB / 0.5598 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1889, allocations: 200.8 kB / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.189, allocations: 384 / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.189, allocations: 384 / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1891, allocations: 53.81 kB / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1891, allocations: 0 / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1892, allocations: 4 kB / 0.5601 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1892, allocations: 0 / 0.5601 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.1893, allocations: 31.91 kB / 0.5601 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.1897, allocations: 288.8 kB / 0.5604 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1899, allocations: 42.56 kB / 0.5604 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.19, allocations: 24.92 kB / 0.5604 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.19, allocations: 0 / 0.5604 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.19, allocations: 34.56 kB / 0.5605 GB, free: 1.984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.19, allocations: 0 / 0.5605 GB, free: 1.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006108/0.1907, allocations: 157.4 kB / 0.5606 GB, free: 1.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1907, allocations: 51.41 kB / 0.5607 GB, free: 1.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1909, allocations: 174.5 kB / 0.5608 GB, free: 1.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1909, allocations: 25.7 kB / 0.5609 GB, free: 1.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.191, allocations: 104.1 kB / 0.561 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.191, allocations: 15.84 kB / 0.561 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1911, allocations: 17.72 kB / 0.561 GB, free: 1.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1912, allocations: 326.8 kB / 0.5613 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.1913, allocations: 19.98 kB / 0.5613 GB, free: 1.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.1914, allocations: 23.97 kB / 0.5613 GB, free: 1.027 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1915, allocations: 52.83 kB / 0.5614 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1915, allocations: 0 / 0.5614 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002609/0.1918, allocations: 93.56 kB / 0.5615 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1918, allocations: 8 kB / 0.5615 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1918, allocations: 0 / 0.5615 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1918, allocations: 0 / 0.5615 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/0.1919, allocations: 16.19 kB / 0.5615 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1919, allocations: 0 / 0.5615 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.1919, allocations: 7.984 kB / 0.5615 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1919, allocations: 4 kB / 0.5615 GB, free: 0.8398 MB / 414.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 9.456e-05/0.192, allocations: 121.8 kB / 0.5616 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.1921, allocations: 19.94 kB / 0.5617 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1923, allocations: 93.97 kB / 0.5617 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1923, allocations: 0 / 0.5617 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1923, allocations: 0 / 0.5617 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1923, allocations: 0 / 0.5617 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.1928, allocations: 362.4 kB / 0.5621 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1928, allocations: 0 / 0.5621 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.1928, allocations: 15.94 kB / 0.5621 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1928, allocations: 0 / 0.5621 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1929, allocations: 7.984 kB / 0.5621 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1929, allocations: 3.938 kB / 0.5621 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1929, allocations: 0 / 0.5621 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1931, allocations: 191.4 kB / 0.5623 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.1932, allocations: 85.02 kB / 0.5624 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1932, allocations: 8 kB / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1933, allocations: 7.875 kB / 0.5624 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1933, allocations: 7.984 kB / 0.5624 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1933, allocations: 0 / 0.5624 GB, free: 15.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.1934, allocations: 139.9 kB / 0.5625 GB, free: 15.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1934, allocations: 0 / 0.5625 GB, free: 15.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1937, allocations: 19.94 kB / 0.5626 GB, free: 15.67 MB / 430.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.001437/0.1951, allocations: 403.3 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1953, allocations: 51.89 kB / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1953, allocations: 0 / 0.563 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1954, allocations: 23.98 kB / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1958, allocations: 19.92 kB / 0.563 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.1963, allocations: 235.6 kB / 0.5633 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1966, allocations: 0.7002 MB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1967, allocations: 11.44 kB / 0.564 GB, free: 14.33 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1967, allocations: 0 / 0.564 GB, free: 14.33 MB / 430.1 MB Notification: Performance of Templates: time 0.003603/0.2003, allocations: 1.509 MB / 0.5654 GB, free: 12.81 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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: 8.049243577988818]