Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.00175, 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.002184/0.002184, allocations: 197.1 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.576/1.576, 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.4021/0.4021, allocations: 39.94 MB / 309.7 MB, free: 9.324 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.001657/0.001658, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1777, allocations: 56.89 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.004511/0.1823, allocations: 1.689 MB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1841, allocations: 0.8055 MB / 437 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1842, allocations: 0 / 437 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.1846, allocations: 47.75 kB / 437 MB, free: 1.117 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.0002746/0.1849, allocations: 43.77 kB / 437.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.1852, allocations: 83.7 kB / 437.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1854, allocations: 91.75 kB / 437.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1856, allocations: 16.22 kB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.1857, allocations: 43.73 kB / 437.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1858, allocations: 35.83 kB / 437.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.1858, allocations: 4 kB / 437.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.186, allocations: 39.98 kB / 437.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.186, allocations: 15.94 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.1861, allocations: 35.73 kB / 437.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1864, allocations: 111.9 kB / 437.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1864, allocations: 0 / 437.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1864, allocations: 3.938 kB / 437.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1864, allocations: 4 kB / 437.6 MB, free: 0.5977 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.0006954/0.1871, allocations: 410.9 kB / 438 MB, free: 152 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.1872, allocations: 19.88 kB / 438 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1873, allocations: 8.844 kB / 438 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1876, allocations: 208.1 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1876, allocations: 384 / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.1877, allocations: 4.125 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1879, allocations: 57.67 kB / 438.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1879, allocations: 7.984 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1879, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1879, allocations: 3.938 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1881, allocations: 23.92 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1886, allocations: 280.9 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1888, allocations: 58.69 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.1889, allocations: 20.84 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1889, allocations: 0 / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.1892, allocations: 75.23 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1892, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000616/0.1898, allocations: 169.3 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1899, allocations: 55.41 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1901, allocations: 190.1 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1901, allocations: 29.7 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.1902, allocations: 100.1 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1902, allocations: 23.7 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1903, allocations: 21.72 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1904, allocations: 326.8 kB / 439.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.1905, allocations: 23.98 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.1906, allocations: 41.7 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1907, allocations: 62.08 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1907, allocations: 0 / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.1909, allocations: 101.5 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1909, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1909, allocations: 4 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.191, allocations: 4.031 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.1911, allocations: 19.98 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1911, allocations: 192 / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1911, allocations: 3.938 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1912, allocations: 15.92 kB / 439.9 MB, free: 14.03 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.0001117/0.1913, allocations: 121.8 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1913, allocations: 11.91 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.1913, allocations: 12.72 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1914, allocations: 0 / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1914, allocations: 4 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1914, allocations: 7.922 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1919, allocations: 395.2 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1919, allocations: 0 / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.1919, allocations: 15.88 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1919, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1919, allocations: 3.938 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1919, allocations: 4 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.192, allocations: 4.031 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.1922, allocations: 204.3 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.704e-05/0.1923, allocations: 85.02 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1923, allocations: 7.938 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.1924, allocations: 4 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1924, allocations: 3.984 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1924, allocations: 8 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1926, allocations: 148 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1926, allocations: 0 / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1929, allocations: 27.98 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.001172/0.194, allocations: 465.3 kB / 441.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1943, allocations: 67.84 kB / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1943, allocations: 0 / 441.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.1944, allocations: 32.08 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.0003509/0.1947, allocations: 35.98 kB / 441.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.1953, 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.0003955/0.1957, allocations: 0.7002 MB / 442.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.1958, allocations: 20.88 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.1958, allocations: 19.42 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1958, allocations: 0 / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.00529/0.2011, allocations: 1.692 MB / 444.2 MB, free: 9.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)