Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, 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.001521/0.001521, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.655/1.655, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3763/0.3763, allocations: 39.94 MB / 309.7 MB, free: 9.359 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.001717/0.001717, allocations: 71.89 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1805, allocations: 56.89 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003779/0.1843, allocations: 1.7 MB / 436.2 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1858, allocations: 0.8093 MB / 437 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.1859, allocations: 3.938 kB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.1864, allocations: 103.7 kB / 437.1 MB, free: 1.07 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.0003083/0.1867, allocations: 91.64 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.187, allocations: 83.75 kB / 437.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.1872, allocations: 123.7 kB / 437.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.1874, allocations: 19.97 kB / 437.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1875, allocations: 51.78 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1877, allocations: 67.73 kB / 437.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1877, allocations: 4 kB / 437.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1879, allocations: 55.91 kB / 437.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.188, allocations: 27.92 kB / 437.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.188, allocations: 47.67 kB / 437.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.1883, allocations: 135.8 kB / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.1884, allocations: 0 / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1884, allocations: 0 / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1884, allocations: 0 / 437.8 MB, free: 384 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007126/0.1891, allocations: 454.6 kB / 438.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1892, allocations: 11.89 kB / 438.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.1892, allocations: 20.84 kB / 438.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1895, allocations: 219.8 kB / 438.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1895, allocations: 4.375 kB / 438.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1896, allocations: 8.125 kB / 438.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.1898, allocations: 69.59 kB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1898, allocations: 3.906 kB / 438.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1898, allocations: 4 kB / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1898, allocations: 0 / 438.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1899, allocations: 35.91 kB / 438.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.1904, allocations: 324.8 kB / 438.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.1906, allocations: 78.75 kB / 439 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.1907, allocations: 20.86 kB / 439 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.1907, allocations: 3.984 kB / 439 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.191, allocations: 79.39 kB / 439.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.191, allocations: 0 / 439.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006463/0.1917, allocations: 232.9 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1917, allocations: 51.41 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.192, allocations: 246.5 kB / 439.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.192, allocations: 33.69 kB / 439.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.1921, allocations: 116.1 kB / 439.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.1921, allocations: 27.56 kB / 439.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1922, allocations: 29.7 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1923, allocations: 330.8 kB / 440.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.1924, allocations: 27.98 kB / 440.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.553e-05/0.1925, allocations: 45.64 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1926, allocations: 89.7 kB / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1926, allocations: 0 / 440.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002063/0.1928, allocations: 133.4 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1929, allocations: 8 kB / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1929, allocations: 0 / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1929, allocations: 0 / 440.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.193, allocations: 27.98 kB / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.193, allocations: 4.406 kB / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1931, allocations: 0 / 440.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1931, allocations: 4.031 kB / 440.5 MB, free: 13.44 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 (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.0001242/0.1932, allocations: 141.8 kB / 440.6 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1933, allocations: 15.81 kB / 440.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.1933, allocations: 29.38 kB / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1933, allocations: 0 / 440.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1933, allocations: 3.938 kB / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1933, allocations: 0 / 440.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.1938, allocations: 455.1 kB / 441.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1939, allocations: 4 kB / 441.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.1939, allocations: 23.86 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1939, allocations: 0 / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1939, allocations: 0 / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1939, allocations: 4 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.194, allocations: 4 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.1943, allocations: 236.2 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.1943, allocations: 88.95 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1944, allocations: 3.938 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.1944, allocations: 8 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1945, allocations: 7.984 kB / 441.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1945, allocations: 4 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1947, allocations: 188.2 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1947, allocations: 0 / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1949, allocations: 39.89 kB / 441.7 MB, free: 12.1 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 (11): * Single equations (assignments): 9 * 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.001081/0.196, allocations: 465.3 kB / 442.2 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1963, allocations: 83.91 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1963, allocations: 0 / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.1964, allocations: 47.86 kB / 442.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1967, allocations: 39.03 kB / 442.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.1973, allocations: 299.9 kB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1976, allocations: 0.7162 MB / 443.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.1977, allocations: 25.06 kB / 443.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.1978, allocations: 23.42 kB / 443.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1978, allocations: 0 / 443.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Templates: time 0.005292/0.2031, allocations: 1.896 MB / 445.3 MB, free: 8.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)