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.0009705/0.0009706, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01065/0.01065, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.87/1.87, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3928/0.3928, allocations: 40.01 MB / 310.7 MB, free: 9.719 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.0005596/0.0005598, allocations: 19.98 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1746, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003005/0.1776, allocations: 1.405 MB / 438.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1794, allocations: 0.7729 MB / 439.6 MB, free: 4 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.1796, allocations: 0 / 439.6 MB, free: 4 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.18, allocations: 39.83 kB / 439.6 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1802, allocations: 47.83 kB / 439.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.1806, allocations: 79.84 kB / 439.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1808, allocations: 91.69 kB / 439.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1809, allocations: 12.22 kB / 439.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1811, allocations: 39.78 kB / 439.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1812, allocations: 27.86 kB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1812, allocations: 0 / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1814, allocations: 39.98 kB / 440 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.1814, allocations: 23.84 kB / 440 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.1815, allocations: 61.44 kB / 440.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1818, allocations: 111.9 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1818, allocations: 0 / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1818, allocations: 3.938 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1819, allocations: 0 / 440.2 MB, free: 15.43 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.0006559/0.1825, allocations: 399.1 kB / 440.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1826, allocations: 8.031 kB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.1826, allocations: 12.84 kB / 440.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.183, allocations: 204 kB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.183, allocations: 8.359 kB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.183, allocations: 8.125 kB / 440.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1832, allocations: 53.67 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1833, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1833, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1833, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1834, allocations: 19.98 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1839, allocations: 292.9 kB / 441.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1842, allocations: 58.62 kB / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.1842, allocations: 24.78 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1843, allocations: 4 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1845, allocations: 75.3 kB / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1845, allocations: 0 / 441.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007619/0.1853, allocations: 165.3 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.1854, allocations: 51.41 kB / 441.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1856, allocations: 190.1 kB / 441.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1857, allocations: 25.7 kB / 441.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.1858, allocations: 100.1 kB / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.1858, allocations: 31.64 kB / 441.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1859, allocations: 17.72 kB / 441.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1861, allocations: 326.8 kB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.1861, allocations: 19.98 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1863, allocations: 37.7 kB / 442.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1865, allocations: 61.69 kB / 442.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1865, allocations: 4 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002845/0.1868, allocations: 97.53 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1868, allocations: 4 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1868, allocations: 0 / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.1868, allocations: 4 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.187, allocations: 15.98 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.557e-06/0.187, allocations: 4.125 kB / 442.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.1871, allocations: 11.94 kB / 442.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1871, allocations: 3.938 kB / 442.5 MB, free: 12.9 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.0001339/0.1873, allocations: 129.9 kB / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1873, allocations: 7.906 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.1874, allocations: 12.72 kB / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.1874, allocations: 0 / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1874, allocations: 4 kB / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.1874, allocations: 7.922 kB / 442.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.188, allocations: 395.2 kB / 443 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1881, allocations: 0 / 443 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1881, allocations: 8 kB / 443 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1881, allocations: 4 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1882, allocations: 3.938 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1882, allocations: 0 / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1882, allocations: 3.938 kB / 443 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1885, allocations: 208.2 kB / 443.2 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.1886, allocations: 92.92 kB / 443.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.1886, allocations: 7.938 kB / 443.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1887, allocations: 0 / 443.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1888, allocations: 7.984 kB / 443.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1888, allocations: 8 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.189, allocations: 144 kB / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.189, allocations: 0 / 443.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000484/0.1895, allocations: 24 kB / 443.5 MB, free: 11.75 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.001518/0.191, allocations: 464.9 kB / 444 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1913, allocations: 63.91 kB / 444 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1913, allocations: 4.062 kB / 444 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.1914, allocations: 35.84 kB / 444.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.192, allocations: 27.92 kB / 444.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.1925, allocations: 246.7 kB / 444.3 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1929, allocations: 0.7004 MB / 445 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.193, allocations: 13.19 kB / 445 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1931, allocations: 19.44 kB / 445.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1931, allocations: 0 / 445.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Templates: time 0.006538/0.1996, allocations: 1.623 MB / 446.7 MB, free: 8.539 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: