Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001027/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4283/0.4283, allocations: 40 MB / 310.4 MB, free: 9.934 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.0007306/0.0007311, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1772, allocations: 57.96 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002466/0.1797, allocations: 1.382 MB / 438.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1812, allocations: 0.7499 MB / 438.9 MB, free: 432 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1814, allocations: 0 / 438.9 MB, free: 432 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.1818, allocations: 39.83 kB / 439 MB, free: 392 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1821, allocations: 43.84 kB / 439 MB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1825, allocations: 71.83 kB / 439.1 MB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1827, allocations: 87.7 kB / 439.2 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1829, allocations: 12.2 kB / 439.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.183, allocations: 39.78 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.1831, allocations: 27.86 kB / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1831, allocations: 0 / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1833, allocations: 39.97 kB / 439.3 MB, free: 68 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1833, allocations: 19.92 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1834, allocations: 37.64 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.1836, allocations: 92.09 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1836, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1836, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1836, allocations: 0 / 439.4 MB, free: 15.91 MB / 382.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.0006352/0.1843, allocations: 410.8 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1843, allocations: 8.031 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1844, allocations: 7.906 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1847, allocations: 199.5 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1847, allocations: 3.984 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1847, allocations: 12 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1849, allocations: 49.67 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1849, allocations: 3.906 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.185, allocations: 7.938 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.185, allocations: 7.953 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.1851, allocations: 15.98 kB / 440.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.1855, allocations: 288.9 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1857, allocations: 58.67 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.1858, allocations: 16.86 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.1858, allocations: 4 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.186, allocations: 71.28 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.887e-06/0.1861, allocations: 4 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000606/0.1867, allocations: 173.2 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1867, allocations: 55.34 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1869, allocations: 199.3 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.187, allocations: 25.7 kB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.187, allocations: 104.1 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1871, allocations: 19.7 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.1871, allocations: 4 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1872, allocations: 326.8 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.1873, allocations: 20 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.1874, allocations: 33.7 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.1875, allocations: 23.98 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1875, allocations: 0 / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.1877, allocations: 113.4 kB / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1877, allocations: 7.594 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1877, allocations: 4.188 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1877, allocations: 0 / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.1879, allocations: 24.3 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1879, allocations: 3.984 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1879, allocations: 8 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1879, allocations: 0 / 441.7 MB, free: 13.43 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1881, allocations: 141.4 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.1881, allocations: 11.86 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.1882, allocations: 13.41 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1882, allocations: 11.98 kB / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1882, allocations: 0 / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1882, allocations: 0 / 441.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.1886, allocations: 399.2 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1887, allocations: 192 / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1887, allocations: 8 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1887, allocations: 3.938 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1887, allocations: 0 / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.1887, allocations: 12.02 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1887, allocations: 0 / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.189, allocations: 200.2 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1891, allocations: 88.97 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1891, allocations: 4 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1892, allocations: 7.984 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1892, allocations: 8 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1893, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1894, allocations: 156.9 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1894, allocations: 0 / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1897, allocations: 31.89 kB / 442.8 MB, free: 12.24 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.1908, allocations: 459.3 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.191, allocations: 59.91 kB / 443.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.191, allocations: 0 / 443.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.1911, allocations: 27.94 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1914, allocations: 27.97 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.192, allocations: 242.5 kB / 443.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1925, allocations: 0.7121 MB / 444.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.898e-05/0.1926, allocations: 13.19 kB / 444.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.1926, allocations: 23.42 kB / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1926, allocations: 0 / 444.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Templates: time 0.005241/0.1979, allocations: 1.595 MB / 445.9 MB, free: 9.066 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) Environment - environmentSimulation: