Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009692/0.0009692, 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.004153/0.004153, allocations: 158.5 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.8888/0.8888, allocations: 177 MB / 204.9 MB, free: 5.746 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.2377/0.2377, allocations: 34.25 MB / 295.6 MB, free: 0.6797 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.062e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.1927/0.1928, allocations: 1.705 MB / 445.2 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.1937, allocations: 0.9736 MB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.1937, allocations: 0 / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.194, allocations: 49.06 kB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1942, allocations: 99.59 kB / 446.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.1944, allocations: 74.33 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1945, allocations: 108.8 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.12e-05/0.1946, allocations: 10.95 kB / 446.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.1946, allocations: 53.89 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1947, allocations: 27.34 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1947, allocations: 5.844 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.1948, allocations: 50.64 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.1948, allocations: 23.83 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.1948, allocations: 13.81 kB / 446.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.195, allocations: 122.4 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.195, allocations: 0 / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.195, allocations: 2.875 kB / 446.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.195, allocations: 0 / 446.8 MB, free: 43.02 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.0003474/0.1953, allocations: 345.5 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1954, allocations: 8.688 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1954, allocations: 14.22 kB / 447.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.1956, allocations: 145.7 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1956, allocations: 6.219 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.1956, allocations: 10.58 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1957, allocations: 52.95 kB / 447.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1957, allocations: 192 / 447.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1957, allocations: 3.609 kB / 447.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1957, allocations: 9.562 kB / 447.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.1958, allocations: 20.83 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.196, allocations: 237.4 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.1961, allocations: 61.77 kB / 447.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.1961, allocations: 23.8 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1961, allocations: 0 / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.735e-05/0.1962, allocations: 73.27 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1962, allocations: 2.906 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003517/0.1966, allocations: 176.6 kB / 448 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.1966, allocations: 54.22 kB / 448 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.1967, allocations: 207.9 kB / 448.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.1967, allocations: 29.27 kB / 448.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.1967, allocations: 104.8 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1968, allocations: 21.98 kB / 448.4 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.1968, allocations: 22.62 kB / 448.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.738e-05/0.1968, allocations: 324.1 kB / 448.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.1968, allocations: 22.33 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.1969, allocations: 38.98 kB / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.1969, allocations: 71.42 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1969, allocations: 0 / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.785e-05/0.197, allocations: 110.8 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1971, allocations: 5.781 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1971, allocations: 5.156 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1971, allocations: 3.938 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.1971, allocations: 16.81 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1971, allocations: 0 / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.1972, allocations: 2.938 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1972, allocations: 2.938 kB / 449 MB, free: 41.25 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.305e-05/0.1972, allocations: 133.8 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-06/0.1972, allocations: 13.8 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1974, allocations: 121.9 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1974, allocations: 0 / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1974, allocations: 0 / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1974, allocations: 2.812 kB / 449.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1976, allocations: 353.3 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1976, allocations: 0 / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.1976, allocations: 14.86 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1976, allocations: 4.031 kB / 449.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1976, allocations: 10.84 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1976, allocations: 0 / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1976, allocations: 1.641 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.805e-05/0.1977, allocations: 212.5 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.1977, allocations: 13.53 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.1977, allocations: 6.25 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.1978, allocations: 3.328 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.1978, allocations: 10.14 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1978, allocations: 5.844 kB / 449.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.781e-05/0.1979, allocations: 155.9 kB / 450 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1979, allocations: 0 / 450 MB, free: 40.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.198, allocations: 21.41 kB / 450.1 MB, free: 40.47 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.0006687/0.1987, allocations: 492.1 kB / 450.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1988, allocations: 61.73 kB / 450.6 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.1988, allocations: 0 / 450.6 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.1988, allocations: 34.59 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1991, allocations: 33.48 kB / 450.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.1993, allocations: 258.2 kB / 450.9 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.1994, allocations: 104.4 kB / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.1994, allocations: 17.09 kB / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1994, allocations: 0 / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002105/0.2015, allocations: 1.991 MB / 453 MB, free: 39.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.180536380968988]