Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0007946/0.0007946, 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.003117/0.003117, allocations: 160.8 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.8579/0.8579, allocations: 177 MB / 204.9 MB, free: 5.699 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.2436/0.2436, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 443.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.762e-05, allocations: 6.219 kB / 443.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.1933/0.1934, allocations: 1.584 MB / 445 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007157/0.1941, allocations: 0.531 MB / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.1941, allocations: 0 / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1943, allocations: 30.47 kB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1946, allocations: 74.95 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.1948, allocations: 116.6 kB / 445.8 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1949, allocations: 73.64 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.195, allocations: 6.562 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.1951, allocations: 36.25 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.1951, allocations: 13.14 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1951, allocations: 3.344 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.1952, allocations: 35.03 kB / 445.9 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.1953, allocations: 14.11 kB / 446 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.1953, allocations: 10.84 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1954, allocations: 84.98 kB / 446 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1954, allocations: 0.5625 kB / 446 MB, free: 43.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1954, allocations: 2.688 kB / 446 MB, free: 43.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1955, allocations: 0 / 446 MB, free: 43.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003481/0.1958, allocations: 307.6 kB / 446.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1958, allocations: 12.66 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1959, allocations: 7.766 kB / 446.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.196, allocations: 133.3 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.196, allocations: 3.406 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.196, allocations: 3.406 kB / 446.5 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1961, allocations: 57.73 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1961, allocations: 192 / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1962, allocations: 384 / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1962, allocations: 3.562 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.1962, allocations: 23 kB / 446.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.1965, allocations: 233 kB / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1966, allocations: 46.36 kB / 446.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.1967, allocations: 20.56 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1967, allocations: 0 / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.1967, allocations: 33.34 kB / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1967, allocations: 0 / 446.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003735/0.1971, allocations: 151.9 kB / 447.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1971, allocations: 60.72 kB / 447.1 MB, free: 42.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.1972, allocations: 149.2 kB / 447.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.1972, allocations: 25.7 kB / 447.3 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.1972, allocations: 96.52 kB / 447.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1972, allocations: 21.52 kB / 447.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1972, allocations: 19.19 kB / 447.4 MB, free: 42.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.837e-05/0.1973, allocations: 323.8 kB / 447.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.1973, allocations: 19.08 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.1973, allocations: 27.27 kB / 447.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.1974, allocations: 53.42 kB / 447.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1974, allocations: 2.688 kB / 447.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.263e-05/0.1975, allocations: 87.12 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1975, allocations: 5.688 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1975, allocations: 0 / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1975, allocations: 3.469 kB / 447.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.161e-05/0.1976, allocations: 14.05 kB / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1976, allocations: 0 / 448 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.1976, allocations: 18.27 kB / 448 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1976, allocations: 2.781 kB / 448 MB, free: 41.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.396e-05/0.1976, allocations: 115.6 kB / 448.1 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1977, allocations: 14.39 kB / 448.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1978, allocations: 103.8 kB / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1978, allocations: 0 / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1978, allocations: 2.656 kB / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1978, allocations: 0 / 448.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.198, allocations: 296.1 kB / 448.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.198, allocations: 6 kB / 448.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.198, allocations: 12.56 kB / 448.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.198, allocations: 3.328 kB / 448.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1981, allocations: 7.062 kB / 448.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1981, allocations: 0 / 448.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1981, allocations: 0 / 448.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.1982, allocations: 185 kB / 448.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.1982, allocations: 10.02 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1982, allocations: 0 / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.1982, allocations: 2.781 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.1982, allocations: 9.531 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1982, allocations: 2.906 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.1983, allocations: 120.4 kB / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1983, allocations: 0 / 448.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001555/0.1984, allocations: 12.81 kB / 448.9 MB, free: 41.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0006507/0.1991, allocations: 422.9 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1992, allocations: 50.33 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1992, allocations: 6.875 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.1993, allocations: 27.28 kB / 449.4 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1995, allocations: 27.08 kB / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.1998, allocations: 202.8 kB / 449.6 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.1999, allocations: 76.97 kB / 449.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1999, allocations: 21.66 kB / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1999, allocations: 0 / 449.7 MB, free: 40.66 MB / 410.7 MB Notification: Performance of Templates: time 0.002368/0.2023, allocations: 1.496 MB / 451.2 MB, free: 40.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.935528649017215]