Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, 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.002265/0.002265, allocations: 199.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.656/1.656, 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.3598/0.3598, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.002222/0.002223, allocations: 75.88 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004554/0.1787, allocations: 1.689 MB / 436.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1805, allocations: 0.7938 MB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1807, allocations: 4 kB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004469/0.1812, allocations: 47.75 kB / 437 MB, free: 1.121 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.0004097/0.1816, allocations: 51.75 kB / 437.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.182, allocations: 79.7 kB / 437.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.1823, allocations: 99.69 kB / 437.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1824, allocations: 12.22 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1825, allocations: 43.78 kB / 437.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1827, allocations: 31.84 kB / 437.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1828, allocations: 4 kB / 437.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1829, allocations: 39.98 kB / 437.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.183, allocations: 19.92 kB / 437.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.683e-05/0.1831, allocations: 35.73 kB / 437.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1834, allocations: 119.8 kB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1834, allocations: 4 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1834, allocations: 0 / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1834, allocations: 0 / 437.6 MB, free: 0.5898 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.0007841/0.1842, allocations: 406.9 kB / 438 MB, free: 148 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.1843, allocations: 19.83 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1844, allocations: 8.844 kB / 438 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.1848, allocations: 204.1 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1848, allocations: 4.359 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1849, allocations: 8.125 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1851, allocations: 61.61 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1851, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1851, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1851, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.161e-05/0.1852, allocations: 19.98 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1858, allocations: 280.9 kB / 438.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.186, allocations: 66.56 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.1861, allocations: 20.84 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1861, allocations: 0 / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.1864, allocations: 71.3 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.1864, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006952/0.1871, allocations: 177.3 kB / 438.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1872, allocations: 51.41 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1874, allocations: 186.1 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1875, allocations: 29.7 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.1876, allocations: 104.1 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1876, allocations: 19.72 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.1877, allocations: 21.72 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1878, allocations: 334.8 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.1879, allocations: 19.98 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/0.188, allocations: 41.64 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1882, allocations: 57.7 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1882, allocations: 0 / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/0.1884, allocations: 101.5 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1884, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1884, allocations: 4.406 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1884, allocations: 0 / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1886, allocations: 19.98 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1886, allocations: 4 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.1886, allocations: 11.92 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1887, allocations: 4 kB / 439.9 MB, free: 14.04 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.0001359/0.1888, allocations: 129.3 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1888, allocations: 11.91 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.1889, allocations: 24.64 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1889, allocations: 4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1889, allocations: 0 / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1889, allocations: 3.938 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.1894, allocations: 391.2 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1895, allocations: 0 / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1895, allocations: 8 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1895, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1895, allocations: 7.938 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1895, allocations: 11.97 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1895, allocations: 3.984 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1898, allocations: 192.3 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.1899, allocations: 88.95 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1899, allocations: 7.938 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.19, allocations: 4 kB / 440.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.19, allocations: 7.984 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1901, allocations: 4 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1902, allocations: 152 kB / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1902, allocations: 0 / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1905, allocations: 24 kB / 440.9 MB, free: 12.88 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.001123/0.1916, allocations: 465.5 kB / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1918, allocations: 59.91 kB / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1918, allocations: 0 / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.1919, allocations: 31.92 kB / 441.5 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1923, allocations: 38.98 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.1928, allocations: 227.2 kB / 441.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1931, allocations: 0.708 MB / 442.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.1932, allocations: 12.89 kB / 442.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.1932, allocations: 23.42 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1932, allocations: 0 / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005689/0.1989, allocations: 1.689 MB / 444.2 MB, free: 9.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)