Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4037/0.4037, allocations: 39.93 MB / 309.7 MB, free: 9.23 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002622, allocations: 78.67 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1841, allocations: 56.89 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003665/0.1878, allocations: 1.681 MB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1898, allocations: 0.8054 MB / 437 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/0.1899, allocations: 4 kB / 437 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.1903, allocations: 47.75 kB / 437 MB, free: 1.113 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1906, allocations: 55.75 kB / 437.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.191, allocations: 75.78 kB / 437.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1912, allocations: 99.69 kB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1913, allocations: 20.19 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.1914, allocations: 39.8 kB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.1915, allocations: 27.84 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1915, allocations: 7.938 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1916, allocations: 43.98 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1917, allocations: 23.92 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.1918, allocations: 43.67 kB / 437.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.192, allocations: 115.9 kB / 437.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.192, allocations: 0 / 437.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.192, allocations: 0 / 437.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.192, allocations: 0 / 437.6 MB, free: 0.5703 MB / 366.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.0006033/0.1926, allocations: 430.8 kB / 438 MB, free: 104 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1927, allocations: 11.89 kB / 438 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.1928, allocations: 12.84 kB / 438 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1931, allocations: 219.9 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1931, allocations: 384 / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1931, allocations: 8.125 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1933, allocations: 53.67 kB / 438.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1933, allocations: 3.938 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1934, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1934, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.921e-05/0.1935, allocations: 19.98 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1939, allocations: 300.8 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1941, allocations: 54.67 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.1942, allocations: 16.86 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.1942, allocations: 7.969 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.1946, allocations: 71.33 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1946, allocations: 4 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006638/0.1953, allocations: 173.2 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1954, allocations: 59.33 kB / 439 MB, free: 14.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.1957, allocations: 215.5 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1957, allocations: 29.7 kB / 439.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.1958, allocations: 108.1 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1959, allocations: 23.64 kB / 439.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1959, allocations: 29.72 kB / 439.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1961, allocations: 330.8 kB / 439.7 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.1962, allocations: 23.98 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.1962, allocations: 33.7 kB / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1964, allocations: 61.64 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1964, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.1966, allocations: 101.5 kB / 439.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1966, allocations: 4 kB / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1966, allocations: 4.375 kB / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1967, allocations: 0 / 439.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1968, allocations: 19.92 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1968, allocations: 3.938 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.1968, allocations: 11.94 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1969, allocations: 8 kB / 440 MB, free: 13.93 MB / 382.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.0001265/0.197, allocations: 133.7 kB / 440.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.197, allocations: 7.906 kB / 440.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1971, allocations: 25.39 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1971, allocations: 0 / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1971, allocations: 0 / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1971, allocations: 3.938 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.1977, allocations: 395.4 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1977, allocations: 7.984 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.1977, allocations: 15.95 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-05/0.1978, allocations: 4 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1978, allocations: 3.938 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1978, allocations: 3.938 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1978, allocations: 4 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1981, allocations: 196.3 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1982, allocations: 88.92 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1982, allocations: 7.938 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1983, allocations: 3.984 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1983, allocations: 8 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1983, allocations: 4 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1985, allocations: 175.5 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1985, allocations: 0 / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1988, allocations: 24 kB / 441.1 MB, free: 12.73 MB / 382.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.001162/0.1999, allocations: 473.3 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.2002, allocations: 55.92 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2002, allocations: 0 / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.2003, allocations: 32.11 kB / 441.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2007, allocations: 35.11 kB / 441.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.2012, allocations: 262.9 kB / 441.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.2016, allocations: 0.7118 MB / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.2017, allocations: 16.88 kB / 442.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.2017, allocations: 19.38 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2017, allocations: 0 / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.005378/0.2071, allocations: 1.708 MB / 444.4 MB, free: 9.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)