Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002333, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.393/2.393, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3971/0.3971, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 85.83 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1808, allocations: 62.43 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.00477/0.1857, allocations: 1.789 MB / 481.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.1893, allocations: 1.604 MB / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1894, allocations: 4 kB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1898, allocations: 27.84 kB / 483.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.1903, allocations: 83.75 kB / 483.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1906, allocations: 71.8 kB / 483.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1909, allocations: 91.7 kB / 483.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1911, allocations: 19.97 kB / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1912, allocations: 35.8 kB / 483.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1914, allocations: 51.7 kB / 483.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1914, allocations: 4 kB / 483.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.1918, allocations: 99.92 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.1918, allocations: 15.94 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.932e-05/0.1919, allocations: 35.73 kB / 483.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1923, allocations: 128 kB / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1923, allocations: 0 / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1923, allocations: 0 / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1923, allocations: 4 kB / 484 MB, free: 1.652 MB / 350.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.0008365/0.1932, allocations: 415.1 kB / 484.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1932, allocations: 12.88 kB / 484.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.1933, allocations: 12.83 kB / 484.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1937, allocations: 220 kB / 484.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1937, allocations: 7.938 kB / 484.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1938, allocations: 4 kB / 484.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.194, allocations: 71.27 kB / 484.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.194, allocations: 0 / 484.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1941, allocations: 0 / 484.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1941, allocations: 4 kB / 484.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1942, allocations: 15.98 kB / 484.7 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1948, allocations: 296.8 kB / 485 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1951, allocations: 54.62 kB / 485.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.1952, allocations: 20.84 kB / 485.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1952, allocations: 4 kB / 485.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.1955, allocations: 67.39 kB / 485.2 MB, free: 312 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.1955, allocations: 0 / 485.2 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008419/0.1964, allocations: 181.1 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.1965, allocations: 85.05 kB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1968, allocations: 161.9 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1968, allocations: 29.7 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.1969, allocations: 100.1 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.197, allocations: 23.66 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.1971, allocations: 29.7 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1973, allocations: 318.8 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.1974, allocations: 19.92 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1975, allocations: 46.55 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.1977, allocations: 61.73 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1977, allocations: 4.375 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003281/0.1981, allocations: 97.53 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1981, allocations: 4 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1981, allocations: 0 / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1981, allocations: 4 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1983, allocations: 19.98 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1983, allocations: 3.938 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.1984, allocations: 4 kB / 486.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1985, allocations: 4.031 kB / 486.3 MB, free: 15.05 MB / 366.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.0001625/0.1986, allocations: 133.8 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1987, allocations: 11.81 kB / 486.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.1988, allocations: 12.72 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1988, allocations: 4 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.1988, allocations: 3.938 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1988, allocations: 7.922 kB / 486.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.1995, allocations: 395.3 kB / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1995, allocations: 0 / 486.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.835e-05/0.1996, allocations: 11.94 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1996, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1997, allocations: 4.188 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.1997, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1997, allocations: 3.938 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2001, allocations: 204.3 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.2002, allocations: 92.94 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.2002, allocations: 4 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.2004, allocations: 4 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.2004, allocations: 7.984 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.2004, allocations: 4 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.2006, allocations: 123.2 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2007, allocations: 0 / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005882/0.2013, allocations: 55.98 kB / 487.4 MB, free: 13.88 MB / 366.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.002207/0.2035, allocations: 0.5294 MB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.2038, allocations: 63.91 kB / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2038, allocations: 64 / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.2039, allocations: 31.94 kB / 488 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.2046, allocations: 31.91 kB / 488.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/0.2053, allocations: 246.4 kB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.2057, allocations: 0.7004 MB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.2058, allocations: 19.42 kB / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2058, allocations: 0 / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.007761/0.2135, allocations: 2.41 MB / 491.4 MB, free: 9.984 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)