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.001377/0.001377, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 194 kB / 16.25 MB, free: 6.625 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.1 MB, free: 4.695 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.3468/0.3468, allocations: 39.94 MB / 309.4 MB, free: 9.609 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.00151/0.00151, allocations: 68.28 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1759, allocations: 56.89 MB / 434 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003591/0.1795, allocations: 1.767 MB / 435.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1809, allocations: 0.7923 MB / 436.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1811, allocations: 0 / 436.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.1816, allocations: 107.7 kB / 436.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1819, allocations: 79.78 kB / 436.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1822, allocations: 75.84 kB / 436.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1824, allocations: 119.7 kB / 436.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.1826, allocations: 27.95 kB / 437 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1827, allocations: 55.77 kB / 437 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1828, allocations: 79.67 kB / 437.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1829, allocations: 4 kB / 437.1 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.183, allocations: 47.97 kB / 437.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.1831, allocations: 23.92 kB / 437.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.528e-05/0.1832, allocations: 47.67 kB / 437.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1834, allocations: 135.8 kB / 437.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1835, allocations: 0 / 437.3 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1835, allocations: 4 kB / 437.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1835, allocations: 0 / 437.4 MB, free: 0.9375 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007718/0.1843, allocations: 458.5 kB / 437.8 MB, free: 452 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.1843, allocations: 11.89 kB / 437.8 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.1844, allocations: 12.84 kB / 437.8 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1847, allocations: 219.9 kB / 438 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1847, allocations: 384 / 438 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1848, allocations: 8.125 kB / 438 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.185, allocations: 73.59 kB / 438.1 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.185, allocations: 7.906 kB / 438.1 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.1851, allocations: 0 / 438.1 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1851, allocations: 0 / 438.1 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1852, allocations: 31.97 kB / 438.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.1858, allocations: 316.8 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.186, allocations: 82.75 kB / 438.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.1861, allocations: 24.86 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.1862, allocations: 3.984 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.1864, allocations: 71.39 kB / 438.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 3.016e-06/0.1865, allocations: 0 / 438.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007344/0.1872, allocations: 236.9 kB / 438.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.1873, allocations: 59.34 kB / 438.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1876, allocations: 250.4 kB / 439.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1876, allocations: 29.69 kB / 439.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.1877, allocations: 112.1 kB / 439.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1877, allocations: 31.56 kB / 439.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.1878, allocations: 29.7 kB / 439.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.188, allocations: 326.8 kB / 439.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.1881, allocations: 35.98 kB / 439.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.1881, allocations: 45.7 kB / 439.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1883, allocations: 81.7 kB / 439.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1883, allocations: 0 / 439.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002149/0.1885, allocations: 137.4 kB / 440 MB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1886, allocations: 4 kB / 440 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1886, allocations: 4.031 kB / 440 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1886, allocations: 0 / 440 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1887, allocations: 31.92 kB / 440 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1887, allocations: 3.938 kB / 440 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.1888, allocations: 4 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1888, allocations: 0 / 440 MB, free: 14 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.0001129/0.1889, allocations: 137.8 kB / 440.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.189, allocations: 15.81 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.189, allocations: 21.39 kB / 440.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.189, allocations: 4 kB / 440.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.1891, allocations: 7.938 kB / 440.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1891, allocations: 0 / 440.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.1896, allocations: 451.1 kB / 440.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1896, allocations: 0 / 440.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.1897, allocations: 19.92 kB / 440.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1897, allocations: 0 / 440.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1897, allocations: 16.02 kB / 440.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1897, allocations: 0 / 440.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1897, allocations: 0 / 440.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.19, allocations: 236.2 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.1901, allocations: 88.95 kB / 441 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.1901, allocations: 8 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1902, allocations: 4.094 kB / 441 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1902, allocations: 11.92 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1903, allocations: 4 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1904, allocations: 188.2 kB / 441.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1904, allocations: 4 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1907, allocations: 31.89 kB / 441.3 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 (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.001178/0.1919, allocations: 474.4 kB / 441.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.1922, allocations: 87.84 kB / 441.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1922, allocations: 0 / 441.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.1923, allocations: 43.92 kB / 441.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1927, allocations: 39.83 kB / 441.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.1933, allocations: 327.9 kB / 442.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1937, allocations: 0.7201 MB / 442.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.1938, allocations: 25.06 kB / 443 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1938, allocations: 23.42 kB / 443 MB, free: 10.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1938, allocations: 0 / 443 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Templates: time 0.005376/0.1992, allocations: 1.884 MB / 444.9 MB, free: 9.043 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)