Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001376/0.001376, allocations: 193.5 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.667/1.667, allocations: 205.1 MB / 222 MB, free: 4.961 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.4063/0.4063, allocations: 39.93 MB / 309.3 MB, free: 9.262 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.00199/0.00199, allocations: 59.92 kB / 376.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1719, allocations: 56.88 MB / 433.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00464/0.1766, allocations: 1.759 MB / 435.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1783, allocations: 0.7845 MB / 436.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1785, allocations: 0 / 436.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.179, allocations: 55.81 kB / 436.4 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.1794, allocations: 59.75 kB / 436.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1797, allocations: 75.78 kB / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.18, allocations: 99.73 kB / 436.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1801, allocations: 12.22 kB / 436.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1802, allocations: 39.8 kB / 436.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1803, allocations: 35.78 kB / 436.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1804, allocations: 0 / 436.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1805, allocations: 39.97 kB / 436.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.1806, allocations: 27.86 kB / 436.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.1806, allocations: 43.67 kB / 436.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1809, allocations: 131.8 kB / 437 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1809, allocations: 4 kB / 437 MB, free: 1.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1809, allocations: 0 / 437 MB, free: 1.023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1809, allocations: 0 / 437 MB, free: 1.023 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.0006654/0.1816, allocations: 446.6 kB / 437.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1816, allocations: 12.03 kB / 437.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1817, allocations: 8.844 kB / 437.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.182, allocations: 219.8 kB / 437.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.182, allocations: 384 / 437.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.1821, allocations: 4.125 kB / 437.6 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1822, allocations: 61.67 kB / 437.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1822, allocations: 0 / 437.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1823, allocations: 0 / 437.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1823, allocations: 0 / 437.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.365e-05/0.1824, allocations: 23.92 kB / 437.7 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.1829, allocations: 296.8 kB / 438 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1831, allocations: 66.66 kB / 438.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1832, allocations: 20.84 kB / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1832, allocations: 3.938 kB / 438.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.1835, allocations: 71.33 kB / 438.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1835, allocations: 0 / 438.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006259/0.1841, allocations: 185 kB / 438.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1842, allocations: 51.41 kB / 438.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1844, allocations: 254.8 kB / 438.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1844, allocations: 29.7 kB / 438.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.1845, allocations: 112.1 kB / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1845, allocations: 23.66 kB / 438.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1846, allocations: 25.7 kB / 438.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1847, allocations: 330.8 kB / 439.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.1848, allocations: 23.98 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.1848, allocations: 33.7 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1849, allocations: 57.66 kB / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.185, allocations: 4 kB / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.1851, allocations: 105.4 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1852, allocations: 8 kB / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1852, allocations: 4.031 kB / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1852, allocations: 192 / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.1853, allocations: 16.38 kB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.1853, allocations: 12.08 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1854, allocations: 3.938 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1854, allocations: 11.98 kB / 439.4 MB, free: 14.3 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.0001104/0.1855, allocations: 137.8 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1855, allocations: 11.81 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.1856, allocations: 21.39 kB / 439.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1856, allocations: 8 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1856, allocations: 0 / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1856, allocations: 3.938 kB / 439.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.1861, allocations: 403.2 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1861, allocations: 3.984 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1862, allocations: 11.94 kB / 440 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1862, allocations: 0 / 440 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1862, allocations: 7.938 kB / 440 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1862, allocations: 4.031 kB / 440 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1862, allocations: 0 / 440 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1865, allocations: 200.2 kB / 440.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.1865, allocations: 92.91 kB / 440.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1866, allocations: 7.938 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1866, allocations: 8 kB / 440.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1867, allocations: 11.98 kB / 440.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1867, allocations: 7.938 kB / 440.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.1869, allocations: 204 kB / 440.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1869, allocations: 0 / 440.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1871, allocations: 24 kB / 440.6 MB, free: 13.05 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.001002/0.1881, allocations: 457.8 kB / 441 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1883, allocations: 59.86 kB / 441.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1884, allocations: 0 / 441.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1884, allocations: 27.98 kB / 441.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1888, allocations: 31.86 kB / 441.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.1894, allocations: 325.4 kB / 441.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1898, allocations: 0.72 MB / 442.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.1898, allocations: 21.17 kB / 442.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.1899, allocations: 19.42 kB / 442.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1899, allocations: 0 / 442.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of Templates: time 0.004529/0.1944, allocations: 1.666 MB / 443.9 MB, free: 9.719 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)