Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009956/0.0009956, 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.006384/0.006384, allocations: 158 kB / 24.7 MB, free: 9.418 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.9296/0.9296, allocations: 177 MB / 204.9 MB, free: 5.738 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.2256/0.2256, allocations: 34.25 MB / 295.6 MB, free: 0.6758 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.629e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.1886/0.1887, allocations: 1.719 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1897, allocations: 0.9774 MB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.1898, allocations: 3.469 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.1901, allocations: 79.19 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1903, allocations: 121.9 kB / 446.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1905, allocations: 79.88 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1906, allocations: 114.4 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.1907, allocations: 12.8 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.1908, allocations: 68.97 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.1909, allocations: 56.42 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1909, allocations: 7.906 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.336e-05/0.191, allocations: 43.58 kB / 446.8 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.191, allocations: 27.72 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.191, allocations: 18.81 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1912, allocations: 118.6 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1912, allocations: 3.75 kB / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1912, allocations: 0 / 446.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1912, allocations: 0 / 446.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000396/0.1916, allocations: 359.6 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1916, allocations: 8.5 kB / 447.3 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1917, allocations: 15.56 kB / 447.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1919, allocations: 153 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1919, allocations: 6.156 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.192, allocations: 3.031 kB / 447.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1921, allocations: 54.2 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1921, allocations: 6.406 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1921, allocations: 384 / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1921, allocations: 3.938 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.007e-05/0.1921, allocations: 25.25 kB / 447.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.1924, allocations: 241 kB / 447.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1925, allocations: 57.83 kB / 447.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.1925, allocations: 20.33 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.1925, allocations: 3.031 kB / 447.9 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.65e-05/0.1926, allocations: 70.92 kB / 447.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1926, allocations: 2.438 kB / 447.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003782/0.193, allocations: 180.4 kB / 448.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.193, allocations: 53.97 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1931, allocations: 224.8 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.1931, allocations: 29.7 kB / 448.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.1932, allocations: 105.9 kB / 448.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1932, allocations: 32.12 kB / 448.6 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1932, allocations: 27 kB / 448.6 MB, free: 41.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.1933, allocations: 321 kB / 448.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.1933, allocations: 26.67 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.1933, allocations: 43.67 kB / 449 MB, free: 41.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.1934, allocations: 60.5 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1934, allocations: 4 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.658e-05/0.1935, allocations: 110.4 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1935, allocations: 5.844 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1935, allocations: 0 / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1935, allocations: 6.844 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.1936, allocations: 14.73 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1936, allocations: 2.875 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.1936, allocations: 7.953 kB / 449.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1936, allocations: 6.812 kB / 449.2 MB, free: 41.11 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.479e-05/0.1937, allocations: 129.3 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1937, allocations: 17.86 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.1938, allocations: 122.8 kB / 449.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1938, allocations: 4.016 kB / 449.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1938, allocations: 0 / 449.4 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1938, allocations: 3.328 kB / 449.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1941, allocations: 351.9 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1941, allocations: 288 / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.1941, allocations: 9.344 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1941, allocations: 6.969 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1941, allocations: 11.36 kB / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1941, allocations: 2.844 kB / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1941, allocations: 1.641 kB / 449.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.1942, allocations: 220.7 kB / 450 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.1942, allocations: 9.578 kB / 450.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1942, allocations: 0 / 450.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.1942, allocations: 2.781 kB / 450.1 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.1943, allocations: 10.2 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1943, allocations: 2.719 kB / 450.1 MB, free: 40.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.1944, allocations: 179.4 kB / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1944, allocations: 0 / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.1945, allocations: 28 kB / 450.3 MB, free: 40.32 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.0007289/0.1953, allocations: 496.4 kB / 450.8 MB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.1954, allocations: 60.75 kB / 450.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1954, allocations: 0 / 450.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.1954, allocations: 28.59 kB / 450.8 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1956, allocations: 29.19 kB / 450.9 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.1959, allocations: 281.1 kB / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.142e-05/0.196, allocations: 106.6 kB / 451.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.196, allocations: 17.03 kB / 451.3 MB, free: 39.81 MB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.196, allocations: 0 / 451.3 MB, free: 39.81 MB / 410.7 MB Notification: Performance of Templates: time 0.002352/0.1984, allocations: 2.051 MB / 453.3 MB, free: 39.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.843754066154361]