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.001273/0.001274, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001404/0.001404, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 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 1.523/1.523, allocations: 227.4 MB / 252.3 MB, free: 272 kB / 190.1 MB " [Timeout remaining time 178] 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.2462/0.2462, allocations: 46.16 MB / 351.8 MB, free: 14.34 MB / 286.1 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 0.003159/0.003159, allocations: 84.84 kB / 490.9 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1776, allocations: 62.45 MB / 0.5404 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004744/0.1824, allocations: 1.732 MB / 0.5421 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.1853, allocations: 1.021 MB / 0.5431 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1855, allocations: 3.938 kB / 0.5431 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.1862, allocations: 79.75 kB / 0.5432 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.1868, allocations: 119.4 kB / 0.5433 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1872, allocations: 79.67 kB / 0.5434 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.1875, allocations: 107.7 kB / 0.5435 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1877, allocations: 23.98 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1879, allocations: 51.77 kB / 0.5436 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.188, allocations: 55.77 kB / 0.5436 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1881, allocations: 4 kB / 0.5436 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1883, allocations: 51.91 kB / 0.5437 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.1884, allocations: 19.92 kB / 0.5437 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.1885, allocations: 39.75 kB / 0.5437 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1888, allocations: 123.4 kB / 0.5438 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1888, allocations: 4 kB / 0.5438 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1889, allocations: 0 / 0.5438 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1889, allocations: 0 / 0.5438 GB, free: 0.6641 MB / 398.1 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.0008276/0.1897, allocations: 438.5 kB / 0.5443 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/0.1898, allocations: 12.03 kB / 0.5443 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.1899, allocations: 16.84 kB / 0.5443 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.1903, allocations: 212.1 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.1904, allocations: 4.375 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1904, allocations: 4.375 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1906, allocations: 57.98 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1907, allocations: 0 / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1907, allocations: 4 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1907, allocations: 0 / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1908, allocations: 19.98 kB / 0.5446 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.1914, allocations: 296.8 kB / 0.5449 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1916, allocations: 62.69 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/0.1917, allocations: 20.84 kB / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1918, allocations: 7.984 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.192, allocations: 63.39 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.192, allocations: 3.938 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007965/0.1928, allocations: 185.3 kB / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1929, allocations: 51.41 kB / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.1932, allocations: 227.3 kB / 0.5455 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1933, allocations: 33.7 kB / 0.5455 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1934, allocations: 108.1 kB / 0.5456 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1935, allocations: 19.86 kB / 0.5456 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.1935, allocations: 25.7 kB / 0.5456 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.1938, allocations: 326.8 kB / 0.5459 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.1939, allocations: 23.98 kB / 0.546 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.194, allocations: 33.72 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.1942, allocations: 57.7 kB / 0.5461 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1942, allocations: 3.938 kB / 0.5461 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003222/0.1945, allocations: 105.6 kB / 0.5462 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1946, allocations: 4 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1946, allocations: 4.031 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1946, allocations: 7.938 kB / 0.5462 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.1948, allocations: 15.94 kB / 0.5462 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1948, allocations: 160 / 0.5462 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.1949, allocations: 11.98 kB / 0.5462 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1949, allocations: 0 / 0.5462 GB, free: 14 MB / 414.1 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 0.0001667/0.1951, allocations: 129.8 kB / 0.5463 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1951, allocations: 19.89 kB / 0.5463 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.491e-05/0.1952, allocations: 21.39 kB / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1953, allocations: 4 kB / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1953, allocations: 0 / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1953, allocations: 0 / 0.5464 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.196, allocations: 403.2 kB / 0.5468 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.196, allocations: 0 / 0.5468 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.1961, allocations: 8 kB / 0.5468 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1961, allocations: 0 / 0.5468 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1961, allocations: 8.359 kB / 0.5468 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.1961, allocations: 7.969 kB / 0.5468 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.1961, allocations: 4 kB / 0.5468 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.1965, allocations: 204.2 kB / 0.547 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.1966, allocations: 85.06 kB / 0.5471 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1966, allocations: 8 kB / 0.5471 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1968, allocations: 3.938 kB / 0.5471 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1968, allocations: 11.98 kB / 0.5471 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.1969, allocations: 4 kB / 0.5471 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1971, allocations: 169.2 kB / 0.5472 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1971, allocations: 192 / 0.5472 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004828/0.1976, allocations: 20 kB / 0.5473 GB, free: 12.8 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002501/0.2001, allocations: 465.1 kB / 0.5477 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.2004, allocations: 51.97 kB / 0.5478 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2005, allocations: 4 kB / 0.5478 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.2006, allocations: 31.92 kB / 0.5478 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.2012, allocations: 31.05 kB / 0.5478 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.202, allocations: 281.1 kB / 0.5481 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.2025, allocations: 0.7119 MB / 0.5488 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.2026, allocations: 15.44 kB / 0.5488 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2026, allocations: 0 / 0.5488 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.006217/0.2088, allocations: 2.019 MB / 0.5508 GB, free: 9.328 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.91569666902069]