Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001284/0.001284, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001427/0.001427, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.663/1.663, allocations: 227.4 MB / 251.6 MB, free: 104 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.2563/0.2563, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003617, allocations: 79.05 kB / 490.3 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1822, allocations: 62.45 MB / 0.5398 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003395/0.1856, allocations: 1.733 MB / 0.5415 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1876, allocations: 1.044 MB / 0.5425 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.1877, allocations: 7.938 kB / 0.5425 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.188, allocations: 35.77 kB / 0.5425 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.1884, allocations: 95.61 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1886, allocations: 75.67 kB / 0.5427 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1888, allocations: 111.7 kB / 0.5428 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1889, allocations: 11.92 kB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.189, allocations: 51.78 kB / 0.5428 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.1891, allocations: 35.84 kB / 0.5429 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1892, allocations: 4 kB / 0.5429 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.1894, allocations: 119.9 kB / 0.543 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.1894, allocations: 19.92 kB / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.1895, allocations: 43.72 kB / 0.5431 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1898, allocations: 167.4 kB / 0.5432 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1899, allocations: 0 / 0.5432 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1899, allocations: 0 / 0.5432 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1899, allocations: 4 kB / 0.5432 GB, free: 0.6094 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.0006687/0.1906, allocations: 446.4 kB / 0.5437 GB, free: 128 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1906, allocations: 11.97 kB / 0.5437 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.1907, allocations: 8.891 kB / 0.5437 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.191, allocations: 212.2 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.191, allocations: 384 / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1911, allocations: 4.375 kB / 0.5439 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1913, allocations: 71.7 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1913, allocations: 3.984 kB / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1913, allocations: 0 / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1913, allocations: 3.984 kB / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.1914, allocations: 31.92 kB / 0.544 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1918, allocations: 272.9 kB / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.192, allocations: 66.55 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.1921, allocations: 28.97 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1921, allocations: 7.922 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.1923, allocations: 75.38 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1923, allocations: 0 / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006313/0.193, allocations: 197.3 kB / 0.5446 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.193, allocations: 85.09 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1932, allocations: 170.1 kB / 0.5448 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1933, allocations: 25.7 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.1933, allocations: 100.1 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1934, allocations: 39.72 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.1934, allocations: 33.7 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1936, allocations: 326.8 kB / 0.5453 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.1937, allocations: 27.98 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.1938, allocations: 56.38 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.194, allocations: 81.61 kB / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.194, allocations: 0 / 0.5455 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002336/0.1942, allocations: 121.6 kB / 0.5456 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1942, allocations: 4 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1942, allocations: 0 / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1943, allocations: 7.984 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1944, allocations: 24 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1944, allocations: 0 / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1945, allocations: 7.984 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1945, allocations: 8.031 kB / 0.5457 GB, free: 13.85 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 (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 0.0001131/0.1946, allocations: 127.4 kB / 0.5458 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1946, allocations: 15.91 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.1947, allocations: 16.8 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1947, allocations: 3.938 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1947, allocations: 0 / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1947, allocations: 0 / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.1953, allocations: 435.1 kB / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1953, allocations: 0 / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.1953, allocations: 15.98 kB / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1953, allocations: 0 / 0.5463 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1953, allocations: 7.938 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1954, allocations: 4.469 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1954, allocations: 0 / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1956, allocations: 212.3 kB / 0.5465 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.1957, allocations: 93.05 kB / 0.5466 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.1957, allocations: 3.938 kB / 0.5466 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.1958, allocations: 4 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1959, allocations: 11.98 kB / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1959, allocations: 4 kB / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.196, allocations: 127.1 kB / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.196, allocations: 0 / 0.5467 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1963, allocations: 63.75 kB / 0.5468 GB, free: 12.62 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 (10): * Single equations (assignments): 8 * 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.002008/0.1983, allocations: 0.546 MB / 0.5473 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1986, allocations: 75.91 kB / 0.5474 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1986, allocations: 4.062 kB / 0.5474 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.1987, allocations: 35.92 kB / 0.5474 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1991, allocations: 41.42 kB / 0.5475 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.1996, allocations: 211.1 kB / 0.5477 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1999, allocations: 0.7046 MB / 0.5483 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.2, allocations: 24.41 kB / 0.5484 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.2001, allocations: 23.42 kB / 0.5484 GB, free: 11.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2001, allocations: 0 / 0.5484 GB, free: 11.09 MB / 414.1 MB Notification: Performance of Templates: time 0.006881/0.207, allocations: 2.509 MB / 0.5508 GB, free: 8.594 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 5.613007944077253]