Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.001378/0.001378, allocations: 104.3 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.001535/0.001535, 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.641/1.641, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2607/0.2607, allocations: 44.26 MB / 331.1 MB, free: 9.316 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.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [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.003235/0.003235, allocations: 67.91 kB / 468.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1818, allocations: 61.05 MB / 0.5174 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.005089/0.1869, allocations: 1.687 MB / 0.5191 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1891, allocations: 0.7728 MB / 0.5198 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1893, allocations: 7.938 kB / 0.5198 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1897, allocations: 51.81 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1901, allocations: 63.69 kB / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.1905, allocations: 99.69 kB / 0.52 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.1907, allocations: 83.77 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1909, allocations: 16.22 kB / 0.5201 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.191, allocations: 43.78 kB / 0.5202 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1911, allocations: 35.78 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1911, allocations: 4 kB / 0.5202 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1913, allocations: 43.92 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.1914, allocations: 23.91 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.102e-05/0.1915, allocations: 39.73 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1919, allocations: 127.4 kB / 0.5204 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1919, allocations: 0 / 0.5204 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1919, allocations: 3.938 kB / 0.5205 GB, free: 3.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1919, allocations: 4 kB / 0.5205 GB, free: 3.508 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.0008815/0.1928, allocations: 365.4 kB / 0.5208 GB, free: 3.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1928, allocations: 12.03 kB / 0.5208 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.1929, allocations: 12.84 kB / 0.5208 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.1934, allocations: 166 kB / 0.521 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1934, allocations: 384 / 0.521 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.1934, allocations: 8.125 kB / 0.521 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1937, allocations: 53.67 kB / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1937, allocations: 0 / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1937, allocations: 0 / 0.521 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1937, allocations: 4 kB / 0.521 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1938, allocations: 27.97 kB / 0.5211 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.1944, allocations: 240.5 kB / 0.5213 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1947, allocations: 54.67 kB / 0.5214 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.1948, allocations: 20.86 kB / 0.5214 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1948, allocations: 0 / 0.5214 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.195, allocations: 79.25 kB / 0.5215 GB, free: 2.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.195, allocations: 0 / 0.5215 GB, free: 2.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008217/0.1958, allocations: 197.2 kB / 0.5216 GB, free: 2.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.1959, allocations: 55.41 kB / 0.5217 GB, free: 2.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.1963, allocations: 267.5 kB / 0.5219 GB, free: 1.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1964, allocations: 25.7 kB / 0.522 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1965, allocations: 112.1 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.1965, allocations: 27.78 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1966, allocations: 17.72 kB / 0.5221 GB, free: 1.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.1968, allocations: 334.8 kB / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1969, allocations: 23.98 kB / 0.5225 GB, free: 1.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.197, allocations: 33.7 kB / 0.5225 GB, free: 1.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1972, allocations: 65.64 kB / 0.5226 GB, free: 1.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1972, allocations: 0 / 0.5226 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003028/0.1975, allocations: 109.5 kB / 0.5227 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.1976, allocations: 8 kB / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1976, allocations: 0 / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1976, allocations: 0 / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1978, allocations: 16.31 kB / 0.5227 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1978, allocations: 192 / 0.5227 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1978, allocations: 15.98 kB / 0.5227 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1979, allocations: 11.97 kB / 0.5227 GB, free: 1 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.0001758/0.198, allocations: 137.8 kB / 0.5228 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1981, allocations: 11.91 kB / 0.5229 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.1985, allocations: 123 kB / 0.523 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1985, allocations: 7.984 kB / 0.523 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1985, allocations: 0 / 0.523 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1985, allocations: 0 / 0.523 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.1992, allocations: 354.9 kB / 0.5233 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1992, allocations: 32 / 0.5233 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1993, allocations: 19.98 kB / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1993, allocations: 0 / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1993, allocations: 0 / 0.5233 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.1993, allocations: 4 kB / 0.5233 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.1993, allocations: 7.875 kB / 0.5234 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.1997, allocations: 216.3 kB / 0.5236 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.1997, allocations: 19.78 kB / 0.5236 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1998, allocations: 4 kB / 0.5236 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1999, allocations: 0 / 0.5236 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1999, allocations: 15.92 kB / 0.5236 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.2, allocations: 8 kB / 0.5236 GB, free: 12 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.2003, allocations: 203.3 kB / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2003, allocations: 0 / 0.5238 GB, free: 15.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.2008, allocations: 27.94 kB / 0.5238 GB, free: 15.78 MB / 414.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.002631/0.2034, allocations: 480.9 kB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.2037, allocations: 63.91 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2037, allocations: 0 / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2038, allocations: 31.91 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.2044, allocations: 43.38 kB / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009174/0.2053, allocations: 329.1 kB / 0.5247 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.2055, allocations: 105.9 kB / 0.5248 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.2056, allocations: 19.38 kB / 0.5248 GB, free: 14.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2056, allocations: 0 / 0.5248 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Templates: time 0.006768/0.2123, allocations: 2.105 MB / 0.5269 GB, free: 12.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.335152419749647]