Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.001731/0.001731, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.002438/0.002438, allocations: 206.2 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 180] 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.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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003875/0.003875, allocations: 70.72 kB / 468.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1762, allocations: 61.04 MB / 0.5174 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005036/0.1813, allocations: 1.687 MB / 0.5191 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1837, allocations: 0.7806 MB / 0.5198 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.1838, allocations: 7.938 kB / 0.5199 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1842, allocations: 31.84 kB / 0.5199 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1845, allocations: 63.69 kB / 0.5199 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.1849, allocations: 87.77 kB / 0.52 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1852, allocations: 95.73 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1853, allocations: 8.219 kB / 0.5201 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1855, allocations: 39.8 kB / 0.5202 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1856, allocations: 39.77 kB / 0.5202 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.1856, allocations: 4 kB / 0.5202 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1858, allocations: 47.92 kB / 0.5203 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.1858, allocations: 23.92 kB / 0.5203 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.1859, allocations: 23.81 kB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1862, allocations: 111.6 kB / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1862, allocations: 0 / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.821e-06/0.1862, allocations: 4 kB / 0.5204 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1862, allocations: 0 / 0.5204 GB, free: 3.551 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008136/0.1871, allocations: 337.6 kB / 0.5207 GB, free: 3.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1871, allocations: 12.03 kB / 0.5207 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.1872, allocations: 12.83 kB / 0.5208 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1876, allocations: 159 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1876, allocations: 4.375 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.1876, allocations: 8.125 kB / 0.5209 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.1878, allocations: 53.67 kB / 0.521 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1878, allocations: 0 / 0.521 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1879, allocations: 3.984 kB / 0.521 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1879, allocations: 3.938 kB / 0.521 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.188, allocations: 23.98 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.1885, allocations: 232.5 kB / 0.5212 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1888, allocations: 58.62 kB / 0.5213 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.1889, allocations: 24.84 kB / 0.5213 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1889, allocations: 0 / 0.5213 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.1891, allocations: 71.33 kB / 0.5214 GB, free: 2.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.1891, allocations: 0 / 0.5214 GB, free: 2.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008671/0.19, allocations: 181.4 kB / 0.5215 GB, free: 2.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.19, allocations: 59.33 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1904, allocations: 199.3 kB / 0.5218 GB, free: 1.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1904, allocations: 29.7 kB / 0.5218 GB, free: 1.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1905, allocations: 108.1 kB / 0.5219 GB, free: 1.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1906, allocations: 23.86 kB / 0.5219 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.1907, allocations: 25.7 kB / 0.522 GB, free: 1.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.1909, allocations: 326.8 kB / 0.5223 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.191, allocations: 16 kB / 0.5223 GB, free: 1.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1911, allocations: 37.7 kB / 0.5223 GB, free: 1.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.1913, allocations: 65.64 kB / 0.5224 GB, free: 1.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1913, allocations: 0 / 0.5224 GB, free: 1.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003379/0.1916, allocations: 110 kB / 0.5225 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1917, allocations: 4 kB / 0.5225 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1917, allocations: 4.031 kB / 0.5225 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1917, allocations: 4 kB / 0.5225 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.1918, allocations: 27.92 kB / 0.5225 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1918, allocations: 0 / 0.5225 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.1919, allocations: 4 kB / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1919, allocations: 0 / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001647/0.1921, allocations: 133.8 kB / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1921, allocations: 7.953 kB / 0.5227 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.1925, allocations: 123.2 kB / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1925, allocations: 4 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1925, allocations: 96 / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1925, allocations: 3.938 kB / 0.5228 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.1932, allocations: 346.9 kB / 0.5231 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1932, allocations: 4 kB / 0.5231 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.1933, allocations: 8 kB / 0.5231 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1933, allocations: 0 / 0.5231 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1933, allocations: 4 kB / 0.5231 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1933, allocations: 3.938 kB / 0.5231 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.1933, allocations: 7.875 kB / 0.5232 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.1937, allocations: 220.3 kB / 0.5234 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.1938, allocations: 15.84 kB / 0.5234 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1938, allocations: 0 / 0.5234 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.194, allocations: 11.92 kB / 0.5234 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.194, allocations: 15.92 kB / 0.5234 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.194, allocations: 0 / 0.5234 GB, free: 216 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.1943, allocations: 160.9 kB / 0.5236 GB, free: 56 kB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1943, allocations: 0 / 0.5236 GB, free: 56 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004992/0.1948, allocations: 23.98 kB / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002768/0.1975, allocations: 480.9 kB / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1979, allocations: 63.89 kB / 0.5241 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1979, allocations: 3.938 kB / 0.5241 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.198, allocations: 36.05 kB / 0.5241 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.1987, allocations: 43.62 kB / 0.5242 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007868/0.1994, allocations: 272.5 kB / 0.5244 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1996, allocations: 92.17 kB / 0.5245 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.1996, allocations: 15.44 kB / 0.5245 GB, free: 15.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1996, allocations: 0 / 0.5245 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Templates: time 0.006657/0.2063, allocations: 1.968 MB / 0.5265 GB, free: 13.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.41562920017168]