Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 111.3 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002518/0.002518, allocations: 186.6 kB / 22.98 MB, free: 5.078 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.911/1.911, allocations: 207.6 MB / 233.7 MB, free: 10.02 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.2505/0.2505, allocations: 44.23 MB / 330.2 MB, free: 9.566 MB / 270.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "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.00359/0.00359, allocations: 78.84 kB / 468 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.181, allocations: 61.04 MB / 0.5166 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003517/0.1845, allocations: 1.718 MB / 0.5183 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.186, allocations: 0.8313 MB / 0.5191 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.1861, allocations: 3.938 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.1864, allocations: 39.83 kB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1867, allocations: 59.69 kB / 0.5192 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.187, allocations: 83.77 kB / 0.5193 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.1872, allocations: 95.69 kB / 0.5194 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1873, allocations: 16.22 kB / 0.5194 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1874, allocations: 47.78 kB / 0.5195 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1875, allocations: 31.78 kB / 0.5195 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1875, allocations: 4 kB / 0.5195 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1876, allocations: 39.98 kB / 0.5195 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.1877, allocations: 19.91 kB / 0.5195 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.1877, allocations: 31.75 kB / 0.5196 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.188, allocations: 119.6 kB / 0.5197 GB, free: 3.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.188, allocations: 0 / 0.5197 GB, free: 3.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.188, allocations: 0 / 0.5197 GB, free: 3.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.188, allocations: 4 kB / 0.5197 GB, free: 3.672 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.0006125/0.1886, allocations: 333.6 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1887, allocations: 8.031 kB / 0.52 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.1887, allocations: 16.84 kB / 0.52 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1891, allocations: 158.2 kB / 0.5202 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1891, allocations: 4.375 kB / 0.5202 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1891, allocations: 4.125 kB / 0.5202 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1893, allocations: 53.67 kB / 0.5202 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1893, allocations: 4 kB / 0.5203 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1893, allocations: 4 kB / 0.5203 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1893, allocations: 0 / 0.5203 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.1894, allocations: 23.92 kB / 0.5203 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1898, allocations: 259.9 kB / 0.5205 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.19, allocations: 50.67 kB / 0.5206 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.19, allocations: 20.86 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1901, allocations: 3.938 kB / 0.5206 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.1902, allocations: 71.34 kB / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1902, allocations: 0 / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005866/0.1908, allocations: 169.4 kB / 0.5208 GB, free: 2.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1909, allocations: 55.41 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1911, allocations: 194.1 kB / 0.5211 GB, free: 2.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1911, allocations: 29.7 kB / 0.5211 GB, free: 2.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.1912, allocations: 100.1 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1912, allocations: 23.8 kB / 0.5212 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.1913, allocations: 25.7 kB / 0.5212 GB, free: 1.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1914, allocations: 326.8 kB / 0.5216 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.1915, allocations: 16 kB / 0.5216 GB, free: 1.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.1916, allocations: 41.7 kB / 0.5216 GB, free: 1.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1917, allocations: 65.62 kB / 0.5217 GB, free: 1.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1917, allocations: 0 / 0.5217 GB, free: 1.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.1919, allocations: 105.5 kB / 0.5218 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1919, allocations: 4 kB / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1919, allocations: 0 / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1919, allocations: 0 / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.192, allocations: 20.03 kB / 0.5218 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.192, allocations: 0 / 0.5218 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.1921, allocations: 15.92 kB / 0.5218 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1921, allocations: 384 / 0.5218 GB, free: 1.312 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.0001113/0.1922, allocations: 117.8 kB / 0.5219 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1922, allocations: 15.89 kB / 0.5219 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1925, allocations: 118.6 kB / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1925, allocations: 0 / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1925, allocations: 11.94 kB / 0.5221 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1925, allocations: 3.938 kB / 0.5221 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.1931, allocations: 366.4 kB / 0.5224 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1931, allocations: 0 / 0.5224 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.1931, allocations: 11.98 kB / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1931, allocations: 0 / 0.5224 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1931, allocations: 7.938 kB / 0.5224 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1931, allocations: 0 / 0.5224 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1931, allocations: 0 / 0.5224 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1934, allocations: 208.3 kB / 0.5226 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.1934, allocations: 11.91 kB / 0.5226 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1934, allocations: 11.92 kB / 0.5227 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.1935, allocations: 3.984 kB / 0.5227 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1935, allocations: 11.98 kB / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1935, allocations: 4 kB / 0.5227 GB, free: 344 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1937, allocations: 139.2 kB / 0.5228 GB, free: 204 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1937, allocations: 0 / 0.5228 GB, free: 204 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1939, allocations: 27.92 kB / 0.5228 GB, free: 176 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 (8): * Single equations (assignments): 6 * 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.001763/0.1957, allocations: 456 kB / 0.5233 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1959, allocations: 51.88 kB / 0.5233 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1959, allocations: 4 kB / 0.5233 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.488e-05/0.196, allocations: 23.92 kB / 0.5233 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1964, allocations: 48.02 kB / 0.5234 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.1969, allocations: 223.2 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.1973, allocations: 0.7002 MB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.1974, allocations: 20.95 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1974, allocations: 15.44 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1974, allocations: 0 / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Templates: time 0.005873/0.2033, allocations: 1.751 MB / 0.526 GB, free: 12.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.955971548333764]