Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0008231/0.0008231, 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.004416/0.004416, allocations: 161 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.8687/0.8687, allocations: 177 MB / 204.9 MB, free: 5.719 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.2511/0.2511, allocations: 34.25 MB / 295.6 MB, free: 0.6602 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.592e-06/1.592e-06, allocations: 0 / 443.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.721e-05, allocations: 2.281 kB / 443.4 MB, free: 1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.1944/0.1944, allocations: 1.605 MB / 445 MB, free: 43.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.1951, allocations: 0.5274 MB / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.1951, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1954, allocations: 96.45 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1957, allocations: 110.5 kB / 445.8 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1959, allocations: 95.23 kB / 445.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.196, allocations: 91.2 kB / 446 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1961, allocations: 9.906 kB / 446 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.065e-05/0.1962, allocations: 53.2 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.1963, allocations: 53.86 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1963, allocations: 6.625 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.1964, allocations: 44.92 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1964, allocations: 26.47 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.1964, allocations: 15.86 kB / 446.2 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1966, allocations: 113.5 kB / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1966, allocations: 0 / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1966, allocations: 0 / 446.3 MB, free: 43.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1966, allocations: 0 / 446.3 MB, free: 43.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003433/0.197, allocations: 347.4 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.197, allocations: 11.19 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.197, allocations: 11.77 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1971, allocations: 147.7 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1972, allocations: 3.375 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1972, allocations: 3.562 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1973, allocations: 55.58 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1973, allocations: 192 / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1973, allocations: 3.094 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1973, allocations: 384 / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.1974, allocations: 31.69 kB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1976, allocations: 240.8 kB / 447.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.1977, allocations: 41.72 kB / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.658e-05/0.1977, allocations: 20.22 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1977, allocations: 0 / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.1977, allocations: 41.19 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1977, allocations: 0 / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005535/0.1983, allocations: 233.7 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.1983, allocations: 55.34 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1984, allocations: 241.3 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.1984, allocations: 25.7 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.1985, allocations: 109.4 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1985, allocations: 30.75 kB / 447.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.1985, allocations: 22.86 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.1986, allocations: 327.5 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.1986, allocations: 24.77 kB / 448.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.1986, allocations: 21.62 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.1987, allocations: 58.97 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1987, allocations: 0 / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001038/0.1988, allocations: 112.2 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1988, allocations: 10.58 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1988, allocations: 0 / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1988, allocations: 3.031 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.1989, allocations: 14.88 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1989, allocations: 4.547 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.1989, allocations: 2.938 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1989, allocations: 4 kB / 448.5 MB, free: 41.64 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 (8): * Single equations (assignments): 8 * 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.996e-05/0.199, allocations: 127.9 kB / 448.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.199, allocations: 21.59 kB / 448.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.1992, allocations: 121.8 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1992, allocations: 2.875 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1992, allocations: 0 / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1992, allocations: 3.375 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.1994, allocations: 348.5 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1994, allocations: 3.938 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.1995, allocations: 26 kB / 449.1 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1995, allocations: 3.938 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.1995, allocations: 0 / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1995, allocations: 2.781 kB / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1995, allocations: 0 / 449.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1996, allocations: 210.9 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.1996, allocations: 7.047 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1996, allocations: 2.844 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.1996, allocations: 6.344 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1997, allocations: 13.91 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1997, allocations: 2.844 kB / 449.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.1997, allocations: 171 kB / 449.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1997, allocations: 0 / 449.5 MB, free: 40.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.1999, allocations: 29.52 kB / 449.6 MB, free: 40.86 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000743/0.2007, allocations: 489 kB / 450 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.2008, allocations: 62.84 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.2008, allocations: 0 / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.2008, allocations: 38.48 kB / 450.1 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2011, allocations: 19.23 kB / 450.2 MB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.2015, allocations: 293.3 kB / 450.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.2015, allocations: 98.28 kB / 450.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.2016, allocations: 18.34 kB / 450.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2016, allocations: 0 / 450.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of Templates: time 0.0025/0.2041, allocations: 1.849 MB / 452.4 MB, free: 40.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.59151547588408]