Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002324/0.002324, allocations: 193.6 kB / 16.14 MB, free: 6.703 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.636/1.636, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3561/0.3561, allocations: 37.97 MB / 307.3 MB, free: 10.06 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.1. 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.002136/0.002136, allocations: 71.89 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1742, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003622/0.1779, allocations: 1.736 MB / 432.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1794, allocations: 0.8039 MB / 433.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.1795, allocations: 3.938 kB / 433.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.1799, allocations: 39.88 kB / 433.6 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1801, allocations: 55.81 kB / 433.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1804, allocations: 83.8 kB / 433.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1805, allocations: 95.67 kB / 433.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1807, allocations: 12.22 kB / 433.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.1808, allocations: 43.73 kB / 433.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.1809, allocations: 35.83 kB / 433.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1809, allocations: 4 kB / 433.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.181, allocations: 35.98 kB / 434 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1811, allocations: 23.92 kB / 434 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1811, allocations: 43.67 kB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1814, allocations: 131.8 kB / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1814, allocations: 0 / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1814, allocations: 0 / 434.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1814, allocations: 0 / 434.2 MB, free: 3.91 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.0006178/0.182, allocations: 438.7 kB / 434.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1821, allocations: 12.03 kB / 434.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1821, allocations: 16.75 kB / 434.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1824, allocations: 215.8 kB / 434.8 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1824, allocations: 4.375 kB / 434.8 MB, free: 3.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1825, allocations: 8.125 kB / 434.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1826, allocations: 57.61 kB / 434.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1826, allocations: 0 / 434.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1827, allocations: 0 / 434.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1827, allocations: 0 / 434.9 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.1827, allocations: 23.98 kB / 434.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1832, allocations: 288.9 kB / 435.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1833, allocations: 70.59 kB / 435.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.1834, allocations: 20.84 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1834, allocations: 4 kB / 435.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.1837, allocations: 67.39 kB / 435.4 MB, free: 2.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1837, allocations: 4 kB / 435.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005995/0.1843, allocations: 185 kB / 435.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.1844, allocations: 51.41 kB / 435.6 MB, free: 2.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1847, allocations: 258.8 kB / 435.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1847, allocations: 25.7 kB / 435.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.1848, allocations: 112.1 kB / 436 MB, free: 1.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.1848, allocations: 23.66 kB / 436 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1848, allocations: 25.7 kB / 436 MB, free: 1.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.185, allocations: 334.8 kB / 436.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.185, allocations: 23.98 kB / 436.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.1851, allocations: 41.58 kB / 436.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1852, allocations: 57.7 kB / 436.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1852, allocations: 0 / 436.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1854, allocations: 113.4 kB / 436.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1854, allocations: 4 kB / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.1855, allocations: 0 / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1855, allocations: 0 / 436.6 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.1856, allocations: 19.94 kB / 436.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1856, allocations: 0 / 436.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.1856, allocations: 7.922 kB / 436.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.1857, allocations: 4 kB / 436.6 MB, free: 1.199 MB / 366.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.0001644/0.1858, allocations: 137.8 kB / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1859, allocations: 19.84 kB / 436.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.1859, allocations: 21.39 kB / 436.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1859, allocations: 4 kB / 436.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1859, allocations: 0 / 436.8 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.186, allocations: 3.938 kB / 436.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.1864, allocations: 395.3 kB / 437.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1864, allocations: 0 / 437.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.1865, allocations: 11.98 kB / 437.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1865, allocations: 4.031 kB / 437.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1865, allocations: 11.94 kB / 437.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1865, allocations: 0 / 437.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1865, allocations: 0 / 437.2 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1868, allocations: 200.2 kB / 437.4 MB, free: 328 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1868, allocations: 85.3 kB / 437.5 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.1869, allocations: 23.86 kB / 437.5 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.1869, allocations: 8 kB / 437.5 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.187, allocations: 7.984 kB / 437.5 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.187, allocations: 4 kB / 437.5 MB, free: 180 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.1872, allocations: 204 kB / 437.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1872, allocations: 0 / 437.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1875, allocations: 24 kB / 437.8 MB, free: 15.95 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.001036/0.1885, allocations: 473.5 kB / 438.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1887, allocations: 55.92 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1887, allocations: 4 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.1888, allocations: 31.97 kB / 438.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1892, allocations: 28.05 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.1898, allocations: 317.5 kB / 438.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.1903, allocations: 0.7121 MB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.1903, allocations: 12.88 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1904, allocations: 15.44 kB / 439.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1904, allocations: 3.938 kB / 439.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Templates: time 0.004778/0.1952, allocations: 1.683 MB / 441.1 MB, free: 12.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)