Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.701/1.701, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3599/0.3599, allocations: 37.99 MB / 307.7 MB, free: 10.1 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.003105/0.003106, allocations: 76.11 kB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1562, allocations: 56.46 MB / 431.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003624/0.1599, allocations: 1.669 MB / 433.4 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1614, allocations: 0.8169 MB / 434.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.1615, allocations: 4 kB / 434.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.162, allocations: 99.72 kB / 434.3 MB, free: 4.031 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1623, allocations: 91.64 kB / 434.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1627, allocations: 75.77 kB / 434.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1629, allocations: 111.7 kB / 434.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.163, allocations: 16.22 kB / 434.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.1631, allocations: 55.75 kB / 434.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1633, allocations: 67.75 kB / 434.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1633, allocations: 4 kB / 434.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1634, allocations: 39.92 kB / 434.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.1635, allocations: 23.92 kB / 434.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.1635, allocations: 39.69 kB / 434.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1638, allocations: 127.9 kB / 434.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1638, allocations: 0 / 434.9 MB, free: 3.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.1638, allocations: 3.984 kB / 434.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1638, allocations: 3.938 kB / 434.9 MB, free: 3.383 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.0006171/0.1645, allocations: 434.8 kB / 435.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1645, allocations: 11.89 kB / 435.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.1646, allocations: 8.844 kB / 435.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1648, allocations: 220.7 kB / 435.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1648, allocations: 384 / 435.6 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1648, allocations: 8.125 kB / 435.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.165, allocations: 53.67 kB / 435.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.165, allocations: 4 kB / 435.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.165, allocations: 0 / 435.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1651, allocations: 0 / 435.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.1651, allocations: 23.98 kB / 435.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1656, allocations: 296.7 kB / 436 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1657, allocations: 58.67 kB / 436 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.1658, allocations: 20.84 kB / 436.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1658, allocations: 4 kB / 436.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.1661, allocations: 75.39 kB / 436.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.426e-06/0.1661, allocations: 0 / 436.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.1667, allocations: 173.1 kB / 436.3 MB, free: 1.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1668, allocations: 55.41 kB / 436.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.167, allocations: 238.2 kB / 436.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1671, allocations: 37.64 kB / 436.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1671, allocations: 112.1 kB / 436.7 MB, free: 1.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1672, allocations: 23.7 kB / 436.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.1673, allocations: 25.72 kB / 436.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1674, allocations: 326.8 kB / 437.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.1675, allocations: 23.98 kB / 437.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.1675, allocations: 33.7 kB / 437.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1677, allocations: 61.97 kB / 437.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1677, allocations: 0 / 437.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.1679, allocations: 113.3 kB / 437.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1679, allocations: 8 kB / 437.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1679, allocations: 0 / 437.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.168, allocations: 0 / 437.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1681, allocations: 19.92 kB / 437.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1681, allocations: 4 kB / 437.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1681, allocations: 7.969 kB / 437.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1681, allocations: 8 kB / 437.4 MB, free: 0.7031 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.000123/0.1683, allocations: 125.8 kB / 437.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.1683, allocations: 11.91 kB / 437.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.1684, allocations: 21.39 kB / 437.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1684, allocations: 4 kB / 437.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1684, allocations: 0 / 437.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1684, allocations: 7.922 kB / 437.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.1688, allocations: 403.2 kB / 437.9 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1688, allocations: 0 / 437.9 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.1689, allocations: 11.98 kB / 438 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1689, allocations: 0 / 438 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1689, allocations: 3.938 kB / 438 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1689, allocations: 4 kB / 438 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1689, allocations: 0 / 438 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1692, allocations: 204.3 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1692, allocations: 88.92 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1693, allocations: 8.297 kB / 438.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1693, allocations: 8 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1694, allocations: 4 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1694, allocations: 11.98 kB / 438.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1696, allocations: 184.2 kB / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1696, allocations: 0 / 438.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1698, allocations: 31.98 kB / 438.5 MB, free: 15.49 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.001054/0.1709, allocations: 467.6 kB / 439 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1711, allocations: 63.97 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1711, allocations: 0 / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/0.1712, allocations: 28.08 kB / 439 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1716, allocations: 35.77 kB / 439.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1721, allocations: 263.6 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1724, allocations: 0.7158 MB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.1725, allocations: 16.88 kB / 440.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1725, allocations: 15.44 kB / 440.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.893e-06/0.1725, allocations: 0 / 440.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Templates: time 0.004869/0.1774, allocations: 1.711 MB / 441.8 MB, free: 12.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)