Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001162/0.001162, 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.005142/0.005142, allocations: 160.9 kB / 24.7 MB, free: 9.43 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.8409/0.8409, allocations: 177.1 MB / 205 MB, free: 5.738 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.2175/0.2175, allocations: 34.26 MB / 295.7 MB, free: 0.7031 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.851e-05/4.119e-05, allocations: 7.766 kB / 443.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.19/0.19, allocations: 1.707 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009246/0.1909, allocations: 0.9739 MB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.191, allocations: 0 / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1912, allocations: 45.42 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1914, allocations: 96.89 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.1916, allocations: 77.36 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.1917, allocations: 112.7 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.1917, allocations: 5.531 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.1918, allocations: 55.94 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1919, allocations: 31.19 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1919, allocations: 5.375 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.1919, allocations: 44.31 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.192, allocations: 20.31 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.192, allocations: 23.92 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1922, allocations: 116.6 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1922, allocations: 4.656 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1922, allocations: 0 / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1922, allocations: 0.5625 kB / 446.8 MB, free: 43.08 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.0003581/0.1925, allocations: 347.6 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1926, allocations: 9.219 kB / 447.2 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1926, allocations: 17.91 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1928, allocations: 147.9 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1928, allocations: 384 / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1928, allocations: 3.5 kB / 447.4 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1929, allocations: 65.05 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1929, allocations: 3.938 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1929, allocations: 0 / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1929, allocations: 0 / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.193, allocations: 22.73 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.1932, allocations: 232.9 kB / 447.7 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.1933, allocations: 56.77 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.1934, allocations: 28.8 kB / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1934, allocations: 0 / 447.8 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.121e-05/0.1935, allocations: 72.03 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1935, allocations: 0 / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003324/0.1938, allocations: 179.3 kB / 448 MB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1938, allocations: 51.41 kB / 448.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.1939, allocations: 208 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1939, allocations: 25.7 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.1939, allocations: 101.2 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.194, allocations: 26.56 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.194, allocations: 31.36 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.588e-05/0.194, allocations: 320.9 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.194, allocations: 24.06 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.308e-05/0.1941, allocations: 36.31 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.1941, allocations: 71.48 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.1941, allocations: 1.438 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.307e-05/0.1942, allocations: 99.47 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.1942, allocations: 6.844 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1942, allocations: 2.906 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1943, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.1943, allocations: 20.8 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1943, allocations: 0 / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1943, allocations: 10.16 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1943, allocations: 5.906 kB / 449 MB, free: 41.32 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 4.42e-05/0.1944, allocations: 126.8 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-06/0.1944, allocations: 10.86 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1945, allocations: 128.8 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1945, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1945, allocations: 0 / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1945, allocations: 2.938 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1947, allocations: 361.7 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1947, allocations: 3.234 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.1948, allocations: 8.344 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1948, allocations: 3 kB / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.1948, allocations: 0 / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1948, allocations: 0 / 449.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1948, allocations: 6.875 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.1949, allocations: 212.2 kB / 449.9 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.1949, allocations: 18.75 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1949, allocations: 2.812 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.1949, allocations: 4.031 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.1949, allocations: 6.125 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1949, allocations: 13.14 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.195, allocations: 154.3 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.195, allocations: 0 / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.1952, allocations: 29.09 kB / 450.1 MB, free: 40.54 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.0006432/0.1958, allocations: 0.4892 MB / 450.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1959, allocations: 61.56 kB / 450.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.1959, allocations: 0 / 450.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.1959, allocations: 28.8 kB / 450.7 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1962, allocations: 28.91 kB / 450.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.1964, allocations: 260.6 kB / 451 MB, free: 40.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.1965, allocations: 95 kB / 451 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1965, allocations: 20.06 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1965, allocations: 0 / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002008/0.1985, allocations: 2.008 MB / 453.1 MB, free: 39.83 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 4.744274809025228]