Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.0009201/0.0009201, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.004388/0.004388, allocations: 157.5 kB / 24.7 MB, free: 9.422 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.9119/0.9119, 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.2972/0.2972, allocations: 34.25 MB / 295.6 MB, free: 0.6719 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 443.5 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.295e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.1905/0.1905, allocations: 1.709 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.1915, allocations: 0.9763 MB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.1916, allocations: 2.875 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1918, allocations: 56.91 kB / 446.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1921, allocations: 103.8 kB / 446.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.1922, allocations: 76.98 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1923, allocations: 110.5 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.1924, allocations: 2.594 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.1925, allocations: 57.8 kB / 446.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.1926, allocations: 29.16 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1926, allocations: 3.719 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.1926, allocations: 45.42 kB / 446.7 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.1927, allocations: 34.39 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.1927, allocations: 23.97 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1929, allocations: 134.8 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1929, allocations: 0 / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1929, allocations: 0 / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1929, allocations: 0 / 446.9 MB, free: 42.96 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.0003976/0.1933, allocations: 382.7 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1933, allocations: 16.17 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1934, allocations: 15.09 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1936, allocations: 159.9 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1936, allocations: 4.375 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1936, allocations: 6.203 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1937, allocations: 61.06 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1937, allocations: 4.125 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1937, allocations: 384 / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1937, allocations: 6.594 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.1938, allocations: 22.05 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.194, allocations: 242.4 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1942, allocations: 55.89 kB / 447.8 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.1942, allocations: 17.27 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1942, allocations: 8.156 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.1943, allocations: 71 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1943, allocations: 3.938 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003817/0.1947, allocations: 193 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1947, allocations: 55.3 kB / 448.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1949, allocations: 284.5 kB / 448.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.1949, allocations: 34.27 kB / 448.5 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.1949, allocations: 119.8 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1949, allocations: 25.91 kB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.195, allocations: 19.53 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.409e-05/0.195, allocations: 331.2 kB / 449 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.609e-05/0.195, allocations: 21.36 kB / 449 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.1951, allocations: 34.81 kB / 449 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.1951, allocations: 66.2 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1951, allocations: 0 / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001069/0.1952, allocations: 120.2 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1952, allocations: 5.844 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1952, allocations: 0 / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1953, allocations: 0 / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.1953, allocations: 21.45 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1953, allocations: 0 / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.1954, allocations: 3.062 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1954, allocations: 2.906 kB / 449.2 MB, free: 41.12 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.094e-05/0.1954, allocations: 141 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.1954, allocations: 27.83 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.1956, allocations: 129.9 kB / 449.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1956, allocations: 0 / 449.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1956, allocations: 0 / 449.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1956, allocations: 0 / 449.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.1958, allocations: 366.3 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1958, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.1959, allocations: 12.16 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1959, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1959, allocations: 6.938 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1959, allocations: 0 / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1959, allocations: 1.641 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.196, allocations: 223.5 kB / 450.1 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.196, allocations: 14.56 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.196, allocations: 9.031 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.1961, allocations: 2.812 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1961, allocations: 9.656 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1961, allocations: 5.656 kB / 450.2 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.1962, allocations: 220.9 kB / 450.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1962, allocations: 4 kB / 450.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.1964, allocations: 27.86 kB / 450.4 MB, free: 40.3 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.0007447/0.1971, allocations: 473.7 kB / 450.9 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1972, allocations: 68.61 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1972, allocations: 2.938 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.1973, allocations: 27.61 kB / 451 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.1975, allocations: 36.27 kB / 451 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.1979, allocations: 335.2 kB / 451.3 MB, free: 39.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.256e-05/0.198, allocations: 118.5 kB / 451.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.198, allocations: 14.25 kB / 451.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.198, allocations: 0 / 451.5 MB, free: 39.78 MB / 410.7 MB Notification: Performance of Templates: time 0.002718/0.2007, allocations: 2.194 MB / 453.6 MB, free: 39.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.010888481512666]