Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001514/0.001515, allocations: 120.8 kB / 18.45 MB, free: 4.586 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.001581/0.001581, allocations: 201 kB / 21.4 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.533/1.533, allocations: 227.4 MB / 251.7 MB, free: 260 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.2905/0.2905, 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003581/0.003582, allocations: 79.47 kB / 490.3 MB, free: 28.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1828, allocations: 62.45 MB / 0.5398 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00403/0.1868, allocations: 1.727 MB / 0.5415 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.189, allocations: 1.028 MB / 0.5425 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1892, allocations: 0 / 0.5425 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.1896, allocations: 39.77 kB / 0.5425 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.1901, allocations: 95.55 kB / 0.5426 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.1906, allocations: 79.66 kB / 0.5427 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1909, allocations: 103.8 kB / 0.5428 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.191, allocations: 15.92 kB / 0.5428 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1911, allocations: 39.84 kB / 0.5428 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.1912, allocations: 35.73 kB / 0.5429 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1913, allocations: 8 kB / 0.5429 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1914, allocations: 51.97 kB / 0.5429 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.282e-05/0.1915, allocations: 15.92 kB / 0.5429 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.1916, allocations: 35.69 kB / 0.543 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1918, allocations: 115.5 kB / 0.5431 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1919, allocations: 0 / 0.5431 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1919, allocations: 0 / 0.5431 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1919, allocations: 0 / 0.5431 GB, free: 0.8789 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.000676/0.1926, allocations: 414.7 kB / 0.5435 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1926, allocations: 8.031 kB / 0.5435 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.1927, allocations: 20.84 kB / 0.5435 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.193, allocations: 208.2 kB / 0.5437 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1931, allocations: 4.375 kB / 0.5437 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1931, allocations: 384 / 0.5437 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.1934, allocations: 69.86 kB / 0.5438 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1934, allocations: 0 / 0.5438 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1934, allocations: 0 / 0.5438 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1935, allocations: 0 / 0.5438 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.1936, allocations: 19.98 kB / 0.5438 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.1942, allocations: 292.8 kB / 0.5441 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1944, allocations: 62.61 kB / 0.5441 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.1945, allocations: 20.84 kB / 0.5441 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.1946, allocations: 0 / 0.5441 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.1948, allocations: 71.39 kB / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1948, allocations: 0 / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007623/0.1956, allocations: 181.3 kB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.1956, allocations: 55.41 kB / 0.5444 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1959, allocations: 177.2 kB / 0.5446 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1959, allocations: 33.69 kB / 0.5446 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.196, allocations: 96.14 kB / 0.5447 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.1961, allocations: 31.78 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.1962, allocations: 21.72 kB / 0.5448 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.1964, allocations: 326.8 kB / 0.5451 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.1964, allocations: 23.92 kB / 0.5451 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.1965, allocations: 37.7 kB / 0.5451 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1967, allocations: 61.89 kB / 0.5452 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1967, allocations: 0 / 0.5452 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002267/0.1969, allocations: 105.5 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.197, allocations: 4 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.197, allocations: 160 / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.197, allocations: 4 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1971, allocations: 15.98 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1971, allocations: 3.984 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.1972, allocations: 8 kB / 0.5453 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1972, allocations: 0 / 0.5453 GB, free: 14.31 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.0001563/0.1974, allocations: 135.7 kB / 0.5455 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1974, allocations: 11.95 kB / 0.5455 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1975, allocations: 13.41 kB / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1975, allocations: 0 / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.1975, allocations: 0 / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1975, allocations: 3.938 kB / 0.5455 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.1981, allocations: 403.2 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1981, allocations: 4.031 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1981, allocations: 8 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1981, allocations: 0 / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1982, allocations: 8 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1982, allocations: 3.938 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1982, allocations: 0 / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1985, allocations: 204.2 kB / 0.5461 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.1985, allocations: 93.02 kB / 0.5462 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1986, allocations: 4 kB / 0.5462 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.1986, allocations: 8.312 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1987, allocations: 7.984 kB / 0.5462 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1987, allocations: 0 / 0.5462 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1989, allocations: 144.9 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1989, allocations: 0 / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1991, allocations: 19.94 kB / 0.5464 GB, free: 13.15 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.001696/0.2008, allocations: 457.1 kB / 0.5468 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.2011, allocations: 63.91 kB / 0.5469 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2011, allocations: 0 / 0.5469 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.2012, allocations: 31.98 kB / 0.5469 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2015, allocations: 23.98 kB / 0.5469 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.2021, allocations: 215.4 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2025, allocations: 0.7002 MB / 0.5478 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.75e-05/0.2026, allocations: 28.91 kB / 0.5478 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.2027, allocations: 15.44 kB / 0.5478 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2027, allocations: 0 / 0.5478 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Templates: time 0.007483/0.2102, allocations: 1.738 MB / 0.5495 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.41134410072118]