Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.0008239/0.0008239, allocations: 92.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.004487/0.004487, allocations: 158.8 kB / 24.7 MB, free: 8.906 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.8862/0.8862, 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.2474/0.2474, allocations: 34.24 MB / 295.6 MB, free: 0.6836 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.885e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.1901/0.1902, allocations: 1.719 MB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000977/0.1911, allocations: 0.9784 MB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.1912, allocations: 3.938 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1915, allocations: 83.14 kB / 446.3 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1917, allocations: 131.2 kB / 446.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.1918, allocations: 77.45 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.192, allocations: 125.1 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.835e-05/0.192, allocations: 11.2 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.1921, allocations: 67.12 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.1922, allocations: 53.11 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1922, allocations: 7.531 kB / 446.8 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.1923, allocations: 62.45 kB / 446.8 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1923, allocations: 31.06 kB / 446.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.1924, allocations: 21.95 kB / 446.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1925, allocations: 139.2 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1925, allocations: 0 / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1925, allocations: 1.031 kB / 447 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1925, allocations: 0 / 447 MB, free: 42.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003669/0.1929, allocations: 360.3 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1929, allocations: 9.562 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.193, allocations: 18.59 kB / 447.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1931, allocations: 158.1 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1932, allocations: 3.609 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1932, allocations: 6.391 kB / 447.6 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1933, allocations: 61.98 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1933, allocations: 192 / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1933, allocations: 3.062 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1933, allocations: 3.938 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.1934, allocations: 25.64 kB / 447.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.1936, allocations: 248.3 kB / 447.9 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1938, allocations: 70.23 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.1938, allocations: 21.12 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1938, allocations: 2.906 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.44e-05/0.1939, allocations: 78.5 kB / 448.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1939, allocations: 0 / 448.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004753/0.1944, allocations: 244.8 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.1944, allocations: 59.09 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1945, allocations: 221.7 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/0.1946, allocations: 30.2 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.1946, allocations: 117.2 kB / 448.7 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1946, allocations: 36.52 kB / 448.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.1946, allocations: 24.56 kB / 448.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.1947, allocations: 328.2 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.1947, allocations: 29.78 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.1948, allocations: 53.33 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.1948, allocations: 87.97 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1948, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001162/0.195, allocations: 121.7 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.195, allocations: 5.875 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.195, allocations: 0 / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.195, allocations: 6.188 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.195, allocations: 25.19 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.195, allocations: 8.906 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.1951, allocations: 5.469 kB / 449.4 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.1951, allocations: 2.719 kB / 449.4 MB, free: 41.04 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 (13): * Single equations (assignments): 13 * 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.745e-05/0.1951, allocations: 134.5 kB / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.1951, allocations: 13.16 kB / 449.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.1953, allocations: 160.6 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1953, allocations: 2.781 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1953, allocations: 0 / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1953, allocations: 0 / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.1956, allocations: 410.1 kB / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1956, allocations: 0 / 450.1 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.1956, allocations: 21.64 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1956, allocations: 2.875 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1956, allocations: 2.906 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1956, allocations: 0 / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1956, allocations: 2.938 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1957, allocations: 247.9 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.1957, allocations: 14.22 kB / 450.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1958, allocations: 6.969 kB / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.1958, allocations: 4 kB / 450.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1958, allocations: 16.2 kB / 450.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1958, allocations: 5.625 kB / 450.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.1959, allocations: 169.9 kB / 450.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1959, allocations: 0 / 450.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.1961, allocations: 33.92 kB / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0007841/0.1969, allocations: 0.5414 MB / 451.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.197, allocations: 83.66 kB / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.197, allocations: 6.75 kB / 451.3 MB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.197, allocations: 41.42 kB / 451.3 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1973, allocations: 28.86 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1976, allocations: 307.7 kB / 451.7 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.1976, allocations: 104.1 kB / 451.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.1977, allocations: 21.34 kB / 451.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1977, allocations: 0 / 451.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of Templates: time 0.002885/0.2005, allocations: 2.296 MB / 454.1 MB, free: 39.37 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.782031527720392]