Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 87.62 kB / 21.44 MB, free: 3.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00714/0.00714, allocations: 161.2 kB / 24.69 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8663/0.8663, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2521/0.2521, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.582e-05, allocations: 2.281 kB / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.1898/0.1899, allocations: 1.721 MB / 445.2 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1909, allocations: 0.9646 MB / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1909, allocations: 0 / 446.2 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1912, allocations: 59.84 kB / 446.3 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1914, allocations: 100.3 kB / 446.4 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.1915, allocations: 83.52 kB / 446.5 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1917, allocations: 103.9 kB / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.1918, allocations: 13.08 kB / 446.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.1918, allocations: 61.02 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.1919, allocations: 25.48 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1919, allocations: 5.406 kB / 446.7 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.144e-05/0.192, allocations: 47.84 kB / 446.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.192, allocations: 23.56 kB / 446.7 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1921, allocations: 26.53 kB / 446.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1922, allocations: 141.9 kB / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1922, allocations: 0 / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1922, allocations: 2.312 kB / 446.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1922, allocations: 3.938 kB / 446.9 MB, free: 43.11 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.0003876/0.1926, allocations: 364.3 kB / 447.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1927, allocations: 8.812 kB / 447.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.1927, allocations: 14.69 kB / 447.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1929, allocations: 172.2 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1929, allocations: 384 / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1929, allocations: 3.344 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.193, allocations: 58.58 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.193, allocations: 3.938 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.193, allocations: 2.906 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.193, allocations: 0 / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.1931, allocations: 22.81 kB / 447.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.1933, allocations: 242.9 kB / 447.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1934, allocations: 59.11 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1935, allocations: 24.41 kB / 447.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1935, allocations: 0 / 447.9 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.613e-05/0.1936, allocations: 72.81 kB / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1936, allocations: 0 / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003755/0.1939, allocations: 194.4 kB / 448.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.194, allocations: 58.28 kB / 448.2 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1941, allocations: 277 kB / 448.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.1941, allocations: 28.94 kB / 448.5 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.1942, allocations: 115.8 kB / 448.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1942, allocations: 26.02 kB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.1942, allocations: 22.53 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.345e-05/0.1942, allocations: 331.2 kB / 449 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.1943, allocations: 22.83 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.1943, allocations: 39.94 kB / 449 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.1944, allocations: 62.75 kB / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1944, allocations: 0 / 449.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.64e-05/0.1945, allocations: 106.1 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1945, allocations: 10.47 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1945, allocations: 0 / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1945, allocations: 3.812 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.1946, allocations: 17.17 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1946, allocations: 2.75 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.1946, allocations: 4 kB / 449.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1946, allocations: 2.594 kB / 449.2 MB, free: 41.29 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.797e-05/0.1946, allocations: 140.3 kB / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.1947, allocations: 20.33 kB / 449.4 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.1948, allocations: 127.5 kB / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1948, allocations: 0 / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1948, allocations: 4.031 kB / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1948, allocations: 0 / 449.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.195, allocations: 365.8 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.195, allocations: 0 / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.1951, allocations: 8.656 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1951, allocations: 0 / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1951, allocations: 10.05 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1951, allocations: 0 / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1951, allocations: 3.125 kB / 449.9 MB, free: 40.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.1952, allocations: 227.6 kB / 450.1 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.1952, allocations: 17.53 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1952, allocations: 2.75 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.1952, allocations: 5.984 kB / 450.1 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1953, allocations: 13.89 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1953, allocations: 5.25 kB / 450.1 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.1954, allocations: 208.8 kB / 450.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1954, allocations: 0 / 450.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001691/0.1955, allocations: 25 kB / 450.4 MB, free: 40.48 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.0007223/0.1963, allocations: 0.4885 MB / 450.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1964, allocations: 57.53 kB / 450.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1964, allocations: 0 / 450.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.723e-05/0.1964, allocations: 32.53 kB / 451 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1966, allocations: 37.38 kB / 451 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.197, allocations: 325.9 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.464e-05/0.197, allocations: 103.1 kB / 451.4 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1971, allocations: 20.94 kB / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1971, allocations: 0 / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002328/0.1994, allocations: 2.182 MB / 453.6 MB, free: 39.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.720577709376812]