Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008623/0.0008623, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005172/0.005172, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9343/0.9343, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2864/0.2864, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 443.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.222e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.1906/0.1906, allocations: 1.706 MB / 445.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1918, allocations: 0.9822 MB / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1919, allocations: 0 / 446.2 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.1923, allocations: 47.7 kB / 446.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1926, allocations: 101 kB / 446.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.1928, allocations: 80.81 kB / 446.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.193, allocations: 105.7 kB / 446.5 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1931, allocations: 10.11 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.1932, allocations: 55.27 kB / 446.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.1933, allocations: 33.81 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1933, allocations: 3.031 kB / 446.6 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.1934, allocations: 44.83 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.1935, allocations: 28.14 kB / 446.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1935, allocations: 16.59 kB / 446.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1937, allocations: 130.9 kB / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1937, allocations: 0 / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1937, allocations: 0 / 446.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1937, allocations: 0 / 446.8 MB, free: 42.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004436/0.1941, allocations: 358.9 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1942, allocations: 11.75 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.1942, allocations: 21.31 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.1945, allocations: 162.6 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1945, allocations: 3.312 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1945, allocations: 3.219 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1946, allocations: 58.59 kB / 447.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1946, allocations: 192 / 447.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1946, allocations: 384 / 447.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1946, allocations: 6.875 kB / 447.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.1947, allocations: 18.86 kB / 447.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.195, allocations: 235.9 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1951, allocations: 63.55 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.219e-05/0.1951, allocations: 20.89 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1951, allocations: 0 / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.1952, allocations: 74.12 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1953, allocations: 0 / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004077/0.1957, allocations: 185.7 kB / 448 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1957, allocations: 54.31 kB / 448.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1958, allocations: 239.3 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1959, allocations: 25.7 kB / 448.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.1959, allocations: 109.3 kB / 448.5 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1959, allocations: 26.75 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.196, allocations: 29.98 kB / 448.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.196, allocations: 325.1 kB / 448.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.196, allocations: 27.25 kB / 448.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.1961, allocations: 38.66 kB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.1962, allocations: 63.28 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1962, allocations: 3.938 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001188/0.1963, allocations: 111.4 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1963, allocations: 5.312 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1963, allocations: 7.969 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1963, allocations: 3.094 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.1964, allocations: 15 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1964, allocations: 0 / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.1964, allocations: 6.969 kB / 449.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1964, allocations: 2.812 kB / 449.1 MB, free: 41.06 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 (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 6.403e-05/0.1965, allocations: 138.3 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1965, allocations: 17.69 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.1967, allocations: 120.8 kB / 449.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1967, allocations: 6.281 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1967, allocations: 1.031 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1967, allocations: 0 / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.1969, allocations: 357.7 kB / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1969, allocations: 0 / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.197, allocations: 15.16 kB / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.197, allocations: 0 / 449.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.197, allocations: 6.047 kB / 449.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.197, allocations: 0 / 449.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.197, allocations: 1.641 kB / 449.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.1971, allocations: 221.6 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.1971, allocations: 16.91 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1971, allocations: 2.844 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.1972, allocations: 7.234 kB / 450 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.1972, allocations: 2.938 kB / 450 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1972, allocations: 11.86 kB / 450 MB, free: 40.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.1973, allocations: 173.6 kB / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1973, allocations: 0 / 450.2 MB, free: 40.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1975, allocations: 30.19 kB / 450.2 MB, free: 40.27 MB / 410.7 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.0007636/0.1982, allocations: 484.1 kB / 450.7 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1984, allocations: 68.69 kB / 450.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1984, allocations: 0 / 450.8 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.1984, allocations: 24.97 kB / 450.8 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1987, allocations: 42.81 kB / 450.8 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.199, allocations: 298.9 kB / 451.1 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.347e-05/0.1991, allocations: 98.17 kB / 451.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1991, allocations: 14.47 kB / 451.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1991, allocations: 0 / 451.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of Templates: time 0.002789/0.2019, allocations: 2.081 MB / 453.3 MB, free: 39.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.03787880577147]