Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, 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.001654/0.001654, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.627/1.627, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.4031/0.4031, allocations: 39.93 MB / 309.4 MB, free: 9.027 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.001582/0.001583, allocations: 71.91 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 56.88 MB / 434 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004258/0.1597, allocations: 1.755 MB / 435.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1611, allocations: 0.7923 MB / 436.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.1612, allocations: 0 / 436.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.1617, allocations: 51.83 kB / 436.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.162, allocations: 51.81 kB / 436.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1623, allocations: 79.84 kB / 436.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.1626, allocations: 95.69 kB / 436.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.1627, allocations: 20.22 kB / 436.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.1628, allocations: 39.78 kB / 436.9 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.163, allocations: 35.84 kB / 436.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.163, allocations: 4 kB / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1631, allocations: 39.98 kB / 437 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.1632, allocations: 35.78 kB / 437 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.1633, allocations: 39.69 kB / 437 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1636, allocations: 135.8 kB / 437.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1636, allocations: 0 / 437.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1636, allocations: 0 / 437.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1636, allocations: 0 / 437.2 MB, free: 0.5703 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.0006479/0.1643, allocations: 446.7 kB / 437.6 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.1643, allocations: 11.89 kB / 437.6 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.1644, allocations: 16.75 kB / 437.6 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1647, allocations: 216.9 kB / 437.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1648, allocations: 4.375 kB / 437.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1648, allocations: 8.125 kB / 437.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.165, allocations: 53.61 kB / 437.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.165, allocations: 0 / 437.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.165, allocations: 12 kB / 437.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.165, allocations: 3.938 kB / 437.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.1651, allocations: 15.98 kB / 437.9 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.1655, allocations: 308.7 kB / 438.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1657, allocations: 54.67 kB / 438.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1658, allocations: 20.86 kB / 438.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1658, allocations: 0 / 438.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.166, allocations: 71.38 kB / 438.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.166, allocations: 0 / 438.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006136/0.1666, allocations: 185 kB / 438.6 MB, free: 15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1667, allocations: 51.41 kB / 438.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1669, allocations: 276.8 kB / 438.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.167, allocations: 29.64 kB / 438.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.1671, allocations: 116.1 kB / 439 MB, free: 14.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1671, allocations: 23.66 kB / 439 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1672, allocations: 25.7 kB / 439.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.1673, allocations: 330.8 kB / 439.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.1673, allocations: 19.98 kB / 439.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.1674, allocations: 37.7 kB / 439.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1675, allocations: 61.7 kB / 439.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1676, allocations: 0 / 439.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000181/0.1677, allocations: 105.4 kB / 439.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1678, allocations: 4 kB / 439.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1678, allocations: 0 / 439.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1678, allocations: 384 / 439.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1679, allocations: 27.92 kB / 439.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1679, allocations: 4.031 kB / 439.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.168, allocations: 11.92 kB / 439.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.168, allocations: 4 kB / 439.7 MB, free: 13.83 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.0001112/0.1681, allocations: 133.8 kB / 439.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.1682, allocations: 15.81 kB / 439.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.746e-05/0.1682, allocations: 21.39 kB / 439.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1682, allocations: 0 / 439.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1683, allocations: 0 / 439.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.1683, allocations: 7.875 kB / 439.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1687, allocations: 411.3 kB / 440.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1688, allocations: 0 / 440.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.1688, allocations: 8.188 kB / 440.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1688, allocations: 0 / 440.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1688, allocations: 7.875 kB / 440.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1688, allocations: 4 kB / 440.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1688, allocations: 3.984 kB / 440.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1691, allocations: 208.2 kB / 440.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.1692, allocations: 88.92 kB / 440.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.1692, allocations: 7.938 kB / 440.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1693, allocations: 4 kB / 440.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.1693, allocations: 7.984 kB / 440.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1693, allocations: 4 kB / 440.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1695, allocations: 212.5 kB / 440.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1695, allocations: 0 / 440.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1698, allocations: 28 kB / 440.8 MB, free: 12.57 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.001048/0.1708, allocations: 469.5 kB / 441.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.171, allocations: 63.91 kB / 441.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.171, allocations: 0 / 441.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.1711, allocations: 31.91 kB / 441.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1715, allocations: 31.84 kB / 441.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.1721, allocations: 323.8 kB / 441.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1724, allocations: 0.7236 MB / 442.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.1724, allocations: 12.89 kB / 442.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.1725, allocations: 19.42 kB / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1725, allocations: 0 / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.004453/0.1769, allocations: 1.713 MB / 444.2 MB, free: 9.176 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)