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.001156/0.001155, 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.001478/0.001478, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.703/1.703, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3559/0.3559, allocations: 37.99 MB / 307.4 MB, free: 10.09 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.001496/0.001496, allocations: 66.41 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1508, allocations: 56.47 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003614/0.1545, allocations: 1.732 MB / 432.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1559, allocations: 0.7961 MB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.156, allocations: 0 / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1565, allocations: 47.83 kB / 433.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.1567, allocations: 63.81 kB / 433.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.157, allocations: 67.84 kB / 433.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1572, allocations: 99.7 kB / 434 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1573, allocations: 12.2 kB / 434 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.1574, allocations: 43.78 kB / 434.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.1575, allocations: 35.8 kB / 434.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1575, allocations: 3.938 kB / 434.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.1576, allocations: 47.98 kB / 434.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1577, allocations: 31.89 kB / 434.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.1577, allocations: 43.69 kB / 434.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1579, allocations: 127.8 kB / 434.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1579, allocations: 0 / 434.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1579, allocations: 0 / 434.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1579, allocations: 0 / 434.4 MB, free: 3.793 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.0005735/0.1585, allocations: 442.7 kB / 434.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1586, allocations: 15.89 kB / 434.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.1586, allocations: 16.75 kB / 434.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1589, allocations: 219.7 kB / 435 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1589, allocations: 4.375 kB / 435 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1589, allocations: 8.125 kB / 435 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1591, allocations: 53.67 kB / 435.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1591, allocations: 0 / 435.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1591, allocations: 0 / 435.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1591, allocations: 0 / 435.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1592, allocations: 23.92 kB / 435.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.1596, allocations: 296.9 kB / 435.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1597, allocations: 54.67 kB / 435.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1598, allocations: 16.86 kB / 435.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1598, allocations: 4 kB / 435.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.16, allocations: 71.33 kB / 435.6 MB, free: 2.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.16, allocations: 3.984 kB / 435.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.1606, allocations: 193.2 kB / 435.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1606, allocations: 51.41 kB / 435.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.1609, allocations: 254.8 kB / 436 MB, free: 1.898 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1609, allocations: 25.7 kB / 436.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.161, allocations: 112.1 kB / 436.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.161, allocations: 31.64 kB / 436.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1611, allocations: 25.72 kB / 436.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1612, allocations: 326.8 kB / 436.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.1613, allocations: 23.98 kB / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.1614, allocations: 33.83 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1615, allocations: 69.64 kB / 436.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1615, allocations: 4.188 kB / 436.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.1617, allocations: 97.44 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1617, allocations: 11.94 kB / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1617, allocations: 0 / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1617, allocations: 0 / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.104e-05/0.1618, allocations: 19.92 kB / 436.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1619, allocations: 4 kB / 436.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.1619, allocations: 7.938 kB / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1619, allocations: 4 kB / 436.8 MB, free: 1.074 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.0001221/0.1621, allocations: 137.9 kB / 437 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1621, allocations: 19.8 kB / 437 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.1621, allocations: 13.41 kB / 437 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1621, allocations: 4 kB / 437 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1622, allocations: 0 / 437 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1622, allocations: 3.938 kB / 437 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.1626, allocations: 407.3 kB / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1627, allocations: 0 / 437.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1627, allocations: 11.94 kB / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1627, allocations: 0 / 437.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1627, allocations: 11.92 kB / 437.4 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1627, allocations: 0 / 437.4 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1627, allocations: 0 / 437.4 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.163, allocations: 208.2 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1631, allocations: 88.92 kB / 437.7 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.1631, allocations: 7.938 kB / 437.7 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.1632, allocations: 3.984 kB / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.1632, allocations: 4 kB / 437.7 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1632, allocations: 11.94 kB / 437.7 MB, free: 56 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002255/0.1635, allocations: 204 kB / 437.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1635, allocations: 0 / 437.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1637, allocations: 24 kB / 438 MB, free: 15.83 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.001041/0.1648, allocations: 481.7 kB / 438.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.165, allocations: 55.91 kB / 438.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.165, allocations: 8.062 kB / 438.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.1651, allocations: 27.98 kB / 438.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1654, allocations: 35.78 kB / 438.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.166, allocations: 319.7 kB / 438.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1664, allocations: 0.7158 MB / 439.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.1665, allocations: 12.88 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.1665, allocations: 19.44 kB / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1665, allocations: 0 / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004959/0.1715, allocations: 1.703 MB / 441.3 MB, free: 12.44 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)