Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.000846/0.000846, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004304/0.004304, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8625/0.8625, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.248/0.248, allocations: 34.25 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.768e-05, allocations: 2.281 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.191/0.1911, allocations: 1.67 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1921, allocations: 0.9591 MB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.1922, allocations: 0 / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.1925, allocations: 56.73 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.1928, allocations: 103.3 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.193, allocations: 67.95 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1931, allocations: 114.6 kB / 446.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.1932, allocations: 3.016 kB / 446.5 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.1933, allocations: 47.14 kB / 446.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.1933, allocations: 28.91 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1933, allocations: 6.688 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.1934, allocations: 36.72 kB / 446.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1935, allocations: 25.92 kB / 446.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1935, allocations: 23.17 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1937, allocations: 119.3 kB / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1937, allocations: 0 / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1937, allocations: 0 / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1937, allocations: 0 / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004361/0.1941, allocations: 365.6 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1942, allocations: 13.88 kB / 447.1 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.1942, allocations: 14.31 kB / 447.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1944, allocations: 165.9 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1945, allocations: 6.062 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1945, allocations: 4.312 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1946, allocations: 52.59 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1946, allocations: 3.938 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1946, allocations: 0 / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1946, allocations: 0 / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.1947, allocations: 19.33 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1948, allocations: 137.7 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1949, allocations: 57.56 kB / 447.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1949, allocations: 24.16 kB / 447.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.1949, allocations: 4 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.1951, allocations: 60.86 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1951, allocations: 0 / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001958/0.1953, allocations: 110.3 kB / 447.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.1953, allocations: 55.34 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1954, allocations: 273.6 kB / 448.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.1954, allocations: 25.7 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.1955, allocations: 116.1 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.1955, allocations: 14.25 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.1955, allocations: 16.66 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.1956, allocations: 335.3 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.1956, allocations: 12.69 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.1956, allocations: 32.77 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/0.1957, allocations: 45.47 kB / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1957, allocations: 1.75 kB / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.133e-05/0.1958, allocations: 86.55 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1958, allocations: 6.719 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1958, allocations: 6.938 kB / 448.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1958, allocations: 4.031 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.1959, allocations: 11.44 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1959, allocations: 0 / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.1959, allocations: 13.84 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1959, allocations: 2.906 kB / 448.8 MB, free: 41.46 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 6.058e-05/0.196, allocations: 134.5 kB / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.196, allocations: 19.88 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.1961, allocations: 105.7 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1961, allocations: 0 / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1961, allocations: 3.094 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1961, allocations: 4 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.518e-05/0.1962, allocations: 143 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1962, allocations: 0 / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.1962, allocations: 5.781 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1962, allocations: 0 / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1962, allocations: 7.078 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1962, allocations: 6.688 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.1963, allocations: 0 / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.1963, allocations: 115.9 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.1964, allocations: 14.69 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1964, allocations: 7.328 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.1964, allocations: 6.812 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.1964, allocations: 6.219 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1964, allocations: 2.812 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.1965, allocations: 210 kB / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1965, allocations: 0 / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.1967, allocations: 17.91 kB / 449.6 MB, free: 40.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007457/0.1974, allocations: 451 kB / 450.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1976, allocations: 45.53 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1976, allocations: 2.781 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.1976, allocations: 22.73 kB / 450.1 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.1978, allocations: 27.48 kB / 450.2 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.1982, allocations: 301.7 kB / 450.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.81e-05/0.1983, allocations: 100.4 kB / 450.5 MB, free: 40.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1983, allocations: 17.22 kB / 450.6 MB, free: 40.44 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1983, allocations: 4.062 kB / 450.6 MB, free: 40.43 MB / 410.7 MB Notification: Performance of Templates: time 0.002682/0.201, allocations: 1.945 MB / 452.5 MB, free: 40.21 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test63.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: 4.667830598540604]