Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, 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.001276/0.001276, allocations: 193.9 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3731/0.3731, 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.003355/0.003356, allocations: 82.38 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1774, allocations: 56.88 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004139/0.1816, allocations: 1.681 MB / 436.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.183, allocations: 0.8054 MB / 437 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.1831, allocations: 0 / 437 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1835, allocations: 91.69 kB / 437.1 MB, free: 1.105 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.0002598/0.1838, allocations: 75.72 kB / 437.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1841, allocations: 83.7 kB / 437.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.1843, allocations: 111.7 kB / 437.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1844, allocations: 12.22 kB / 437.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/0.1845, allocations: 59.75 kB / 437.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1846, allocations: 59.81 kB / 437.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1847, allocations: 4 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1848, allocations: 39.98 kB / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1848, allocations: 19.92 kB / 437.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.1849, allocations: 39.69 kB / 437.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1851, allocations: 119.8 kB / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1851, allocations: 0 / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1851, allocations: 0 / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1852, allocations: 8 kB / 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.0006026/0.1858, allocations: 426.8 kB / 438.1 MB, free: 20 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1858, allocations: 15.83 kB / 438.1 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.1859, allocations: 13.02 kB / 438.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1862, allocations: 208 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1862, allocations: 8.375 kB / 438.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1862, allocations: 4.125 kB / 438.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1864, allocations: 57.61 kB / 438.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1864, allocations: 4 kB / 438.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1864, allocations: 4 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1864, allocations: 0 / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.1865, allocations: 15.98 kB / 438.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1869, allocations: 292.8 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1871, allocations: 62.62 kB / 438.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1872, allocations: 20.84 kB / 438.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1872, allocations: 4 kB / 438.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1875, allocations: 67.39 kB / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1875, allocations: 0 / 438.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006384/0.1882, allocations: 185.1 kB / 439.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.1882, allocations: 59.41 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1884, allocations: 219.4 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1885, allocations: 29.7 kB / 439.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1885, allocations: 108.1 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1886, allocations: 23.66 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.1886, allocations: 21.7 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1888, allocations: 330.8 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.1888, allocations: 19.98 kB / 439.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1889, allocations: 41.66 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.189, allocations: 57.7 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1891, allocations: 0 / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.1892, allocations: 109.4 kB / 440.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1893, allocations: 4 kB / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1893, allocations: 0 / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1893, allocations: 4.031 kB / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1894, allocations: 20 kB / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1894, allocations: 0 / 440.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.1895, allocations: 12.23 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1895, allocations: 4 kB / 440.1 MB, free: 13.84 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.0001198/0.1896, allocations: 133.8 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1897, allocations: 11.91 kB / 440.2 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1897, allocations: 13.41 kB / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1897, allocations: 0 / 440.3 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1897, allocations: 8 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1898, allocations: 7.938 kB / 440.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.1902, allocations: 399.2 kB / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1902, allocations: 0 / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.1903, allocations: 8 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1903, allocations: 0 / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1903, allocations: 7.938 kB / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1903, allocations: 240 / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1903, allocations: 4.031 kB / 440.7 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1905, allocations: 208.2 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1906, allocations: 88.92 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1906, allocations: 7.938 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.1907, allocations: 4 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1908, allocations: 7.984 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1908, allocations: 8.188 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.191, allocations: 167.5 kB / 441.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.191, allocations: 3.938 kB / 441.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1913, allocations: 23.98 kB / 441.2 MB, free: 12.64 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.001156/0.1924, allocations: 468.2 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1926, allocations: 63.91 kB / 441.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1927, allocations: 0 / 441.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.1927, allocations: 27.94 kB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1931, allocations: 31.83 kB / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1937, allocations: 251 kB / 442 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.194, allocations: 0.7197 MB / 442.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.194, allocations: 13.19 kB / 442.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.1941, allocations: 19.42 kB / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1941, allocations: 0 / 442.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Templates: time 0.005292/0.1994, allocations: 1.716 MB / 444.5 MB, free: 9.324 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)