Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009027/0.0009027, 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.004524/0.004524, allocations: 160.2 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.8703/0.8703, allocations: 177 MB / 204.9 MB, free: 5.75 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.2443/0.2443, allocations: 34.24 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.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.973e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.1934/0.1934, allocations: 1.715 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1945, allocations: 0.9761 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.81e-05/0.1946, allocations: 0 / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1949, allocations: 36.92 kB / 446.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.1952, allocations: 103.2 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1953, allocations: 82.55 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.1955, allocations: 105.3 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1956, allocations: 3.031 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.1957, allocations: 62.81 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.1958, allocations: 26.42 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1958, allocations: 3.156 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.1958, allocations: 44.34 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.1959, allocations: 21.7 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.1959, allocations: 19.88 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1961, allocations: 122.4 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1961, allocations: 0 / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1961, allocations: 2.844 kB / 446.8 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1961, allocations: 0 / 446.8 MB, free: 42.95 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.0004331/0.1966, allocations: 343.3 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1966, allocations: 8.812 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1967, allocations: 17.88 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1969, allocations: 151.2 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1969, allocations: 6.391 kB / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1969, allocations: 384 / 447.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.197, allocations: 58.38 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.197, allocations: 192 / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.197, allocations: 384 / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.197, allocations: 6.875 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.1971, allocations: 23.28 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.1973, allocations: 239.3 kB / 447.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1975, allocations: 60.08 kB / 447.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.1975, allocations: 17.98 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1975, allocations: 3.781 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.1976, allocations: 71.59 kB / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1976, allocations: 0 / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003994/0.198, allocations: 178.1 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1981, allocations: 61.62 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1982, allocations: 204.4 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.1982, allocations: 29.7 kB / 448.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.1982, allocations: 101.3 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1982, allocations: 18.83 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.1983, allocations: 27.66 kB / 448.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.634e-05/0.1983, allocations: 332.2 kB / 448.7 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.1983, allocations: 22.16 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.1984, allocations: 35.39 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.612e-05/0.1984, allocations: 62.36 kB / 448.8 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1984, allocations: 2.906 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001109/0.1985, allocations: 114.4 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1986, allocations: 6.562 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1986, allocations: 2.969 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1986, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.1986, allocations: 17.45 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1987, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.075e-05/0.1987, allocations: 13.92 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1987, allocations: 3.062 kB / 449 MB, free: 41.18 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 5.668e-05/0.1987, allocations: 121.5 kB / 449.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.1988, allocations: 16.95 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.1989, allocations: 125.6 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1989, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1989, allocations: 2.688 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1989, allocations: 3.281 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1992, allocations: 355.1 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1992, allocations: 0 / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.1992, allocations: 8.438 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1992, allocations: 2.812 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1992, allocations: 7.266 kB / 449.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1992, allocations: 6.781 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1992, allocations: 1.641 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.1993, allocations: 215.6 kB / 449.9 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.1993, allocations: 13.69 kB / 449.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.1993, allocations: 7.25 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.1994, allocations: 2.719 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1994, allocations: 6.141 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1994, allocations: 8.75 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.132e-05/0.1995, allocations: 152.8 kB / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1995, allocations: 0 / 450 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.1997, allocations: 27.12 kB / 450.1 MB, free: 40.4 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.0007741/0.2004, allocations: 487.8 kB / 450.5 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.2006, allocations: 63.22 kB / 450.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2006, allocations: 6.812 kB / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.2006, allocations: 28.42 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.2008, allocations: 30.19 kB / 450.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2012, allocations: 263.8 kB / 450.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.2013, allocations: 95.53 kB / 451 MB, free: 39.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2013, allocations: 17.61 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2013, allocations: 6.938 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of Templates: time 0.002666/0.204, allocations: 1.995 MB / 453 MB, free: 39.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.1337361466139555]