Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001257/0.001257, allocations: 109.7 kB / 18.33 MB, free: 3.98 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.001361/0.001361, allocations: 186 kB / 21.49 MB, free: 0.8242 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.618/1.618, allocations: 207.6 MB / 232.1 MB, free: 3.168 MB / 174.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.44/0.44, allocations: 44.22 MB / 328.4 MB, free: 6.324 MB / 254.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [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.002249/0.002249, allocations: 76.91 kB / 465.6 MB, free: 45.76 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1856, allocations: 61.01 MB / 0.5143 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003277/0.1889, allocations: 1.72 MB / 0.5159 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1902, allocations: 0.8222 MB / 0.5168 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.1903, allocations: 1.188 kB / 0.5168 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1906, allocations: 37.16 kB / 0.5168 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1909, allocations: 59.12 kB / 0.5168 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1911, allocations: 87.3 kB / 0.5169 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1913, allocations: 97.28 kB / 0.517 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1914, allocations: 16.77 kB / 0.517 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.1915, allocations: 35.55 kB / 0.5171 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.1916, allocations: 37.28 kB / 0.5171 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1916, allocations: 3.938 kB / 0.5171 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1917, allocations: 38.98 kB / 0.5171 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1918, allocations: 17.8 kB / 0.5172 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.1919, allocations: 34.64 kB / 0.5172 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1921, allocations: 105.7 kB / 0.5173 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1921, allocations: 0 / 0.5173 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1921, allocations: 4 kB / 0.5173 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1921, allocations: 0 / 0.5173 GB, free: 10.21 MB / 382.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.0006236/0.1927, allocations: 402.8 kB / 0.5177 GB, free: 9.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1928, allocations: 19.84 kB / 0.5177 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.1928, allocations: 8.891 kB / 0.5177 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1931, allocations: 208.7 kB / 0.5179 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1931, allocations: 7.938 kB / 0.5179 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1931, allocations: 4 kB / 0.5179 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1933, allocations: 57.61 kB / 0.518 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1933, allocations: 0 / 0.518 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1933, allocations: 0 / 0.518 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1933, allocations: 4 kB / 0.518 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.1934, allocations: 15.98 kB / 0.518 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.1938, allocations: 284.9 kB / 0.5183 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.194, allocations: 66.55 kB / 0.5183 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.194, allocations: 16.92 kB / 0.5183 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.194, allocations: 4 kB / 0.5184 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.1942, allocations: 63.39 kB / 0.5184 GB, free: 8.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1942, allocations: 4 kB / 0.5184 GB, free: 8.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.1947, allocations: 177.3 kB / 0.5186 GB, free: 8.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1948, allocations: 55.34 kB / 0.5186 GB, free: 8.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1949, allocations: 158.4 kB / 0.5188 GB, free: 8.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1949, allocations: 29.7 kB / 0.5188 GB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.195, allocations: 108 kB / 0.5189 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.195, allocations: 23.8 kB / 0.5189 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.195, allocations: 25.7 kB / 0.519 GB, free: 8.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.1951, allocations: 326.8 kB / 0.5193 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.1952, allocations: 16 kB / 0.5193 GB, free: 7.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.1952, allocations: 45.58 kB / 0.5193 GB, free: 7.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/0.1953, allocations: 53.7 kB / 0.5194 GB, free: 7.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1953, allocations: 0 / 0.5194 GB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.1955, allocations: 105.5 kB / 0.5195 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1955, allocations: 8 kB / 0.5195 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1955, allocations: 3.984 kB / 0.5195 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1955, allocations: 3.938 kB / 0.5195 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.1956, allocations: 16 kB / 0.5195 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1956, allocations: 0 / 0.5195 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.1957, allocations: 0 / 0.5195 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1957, allocations: 7.984 kB / 0.5195 GB, free: 7.684 MB / 382.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 8.667e-05/0.1957, allocations: 125.8 kB / 0.5196 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.1958, allocations: 11.98 kB / 0.5197 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.196, allocations: 114.3 kB / 0.5198 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.196, allocations: 0 / 0.5198 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.196, allocations: 3.984 kB / 0.5198 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.196, allocations: 0 / 0.5198 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.1964, allocations: 395.2 kB / 0.5201 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1964, allocations: 4 kB / 0.5202 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.1964, allocations: 4.375 kB / 0.5202 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1964, allocations: 8.031 kB / 0.5202 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1964, allocations: 3.984 kB / 0.5202 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1964, allocations: 4 kB / 0.5202 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1964, allocations: 7.938 kB / 0.5202 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1966, allocations: 200.6 kB / 0.5204 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1966, allocations: 85.06 kB / 0.5205 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1966, allocations: 8 kB / 0.5205 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.1967, allocations: 7.984 kB / 0.5205 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.1968, allocations: 7.938 kB / 0.5205 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1968, allocations: 4 kB / 0.5205 GB, free: 6.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.1969, allocations: 123.9 kB / 0.5206 GB, free: 6.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1969, allocations: 0 / 0.5206 GB, free: 6.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1971, allocations: 27.92 kB / 0.5206 GB, free: 6.445 MB / 382.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.001753/0.1989, allocations: 475 kB / 0.5211 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1991, allocations: 51.92 kB / 0.5211 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1991, allocations: 0 / 0.5211 GB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.1991, allocations: 27.92 kB / 0.5212 GB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1995, allocations: 32.09 kB / 0.5212 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.1999, allocations: 206.7 kB / 0.5214 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2001, allocations: 0.7002 MB / 0.5221 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.2001, allocations: 21.17 kB / 0.5221 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.2002, allocations: 15.44 kB / 0.5221 GB, free: 4.922 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2002, allocations: 3.938 kB / 0.5221 GB, free: 4.918 MB / 382.1 MB Notification: Performance of Templates: time 0.004639/0.2048, allocations: 1.714 MB / 0.5238 GB, free: 3.211 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.641663199290633]