Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001216, allocations: 108 kB / 15.6 MB, free: 132 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.001212/0.001212, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.581/1.581, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.3749/0.3749, allocations: 39.95 MB / 309.7 MB, free: 9.305 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.002376/0.002376, allocations: 71.89 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1855, allocations: 56.87 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003687/0.1893, allocations: 1.692 MB / 436.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1908, allocations: 0.8054 MB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.1909, allocations: 0 / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.1913, allocations: 83.75 kB / 437.1 MB, free: 1.086 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.0002669/0.1916, allocations: 75.67 kB / 437.2 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1919, allocations: 83.75 kB / 437.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.1921, allocations: 107.7 kB / 437.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1922, allocations: 12.22 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1923, allocations: 51.78 kB / 437.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1925, allocations: 51.83 kB / 437.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1925, allocations: 4 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1926, allocations: 47.92 kB / 437.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.1927, allocations: 27.91 kB / 437.5 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.1928, allocations: 35.73 kB / 437.6 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.193, allocations: 115.8 kB / 437.7 MB, free: 496 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.193, allocations: 0 / 437.7 MB, free: 496 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.193, allocations: 0 / 437.7 MB, free: 496 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.193, allocations: 0 / 437.7 MB, free: 496 kB / 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.0006416/0.1937, allocations: 422.5 kB / 438.1 MB, free: 28 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1937, allocations: 11.89 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.1938, allocations: 16.75 kB / 438.1 MB, free: 0 / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1941, allocations: 216 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1941, allocations: 384 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.1941, allocations: 8.125 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1943, allocations: 53.67 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1943, allocations: 0 / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1943, allocations: 0 / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1943, allocations: 0 / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.1944, allocations: 23.98 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1948, allocations: 292.7 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.195, allocations: 58.66 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.1951, allocations: 20.86 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1951, allocations: 4 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.1953, allocations: 79.31 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1953, allocations: 3.938 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.1959, allocations: 169.2 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.196, allocations: 59.34 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1962, allocations: 222.9 kB / 439.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1962, allocations: 29.7 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1963, allocations: 108.1 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1963, allocations: 27.64 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1963, allocations: 21.7 kB / 439.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1965, allocations: 326.8 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.1965, allocations: 20 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.1966, allocations: 37.7 kB / 439.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1968, allocations: 65.77 kB / 439.9 MB, free: 14.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1968, allocations: 3.938 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.1969, allocations: 101.5 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.197, allocations: 4 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.197, allocations: 0 / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.197, allocations: 0 / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.1971, allocations: 19.94 kB / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1971, allocations: 0 / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.1972, allocations: 15.95 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1972, allocations: 4 kB / 440.1 MB, free: 13.86 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.000115/0.1973, allocations: 121.8 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.1973, allocations: 7.906 kB / 440.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.1974, allocations: 25.39 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1974, allocations: 0 / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1974, allocations: 0 / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1974, allocations: 3.938 kB / 440.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1978, allocations: 399.2 kB / 440.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1979, allocations: 0 / 440.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1979, allocations: 11.98 kB / 440.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1979, allocations: 0 / 440.6 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1979, allocations: 7.938 kB / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1979, allocations: 384 / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1979, allocations: 0 / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1982, allocations: 204.3 kB / 440.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.1982, allocations: 92.86 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1983, allocations: 15.92 kB / 440.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.1983, allocations: 0 / 440.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1984, allocations: 4.188 kB / 440.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1984, allocations: 11.98 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1985, allocations: 159.2 kB / 441.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1985, allocations: 0 / 441.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1988, allocations: 28 kB / 441.1 MB, free: 12.67 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.001027/0.1998, allocations: 457.8 kB / 441.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.2, allocations: 67.94 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2, allocations: 4 kB / 441.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.2001, allocations: 31.92 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2005, allocations: 23.84 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.2009, allocations: 239.2 kB / 441.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2012, allocations: 0.7118 MB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.2013, allocations: 8.891 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.2013, allocations: 23.42 kB / 442.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2013, allocations: 3.938 kB / 442.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Templates: time 0.00484/0.2062, allocations: 1.705 MB / 444.4 MB, free: 9.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)