Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.4 MB, free: 9.148 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 79.12 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1411, allocations: 62.43 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003098/0.1442, allocations: 1.792 MB / 481.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1464, allocations: 1.6 MB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.1465, allocations: 4 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1468, allocations: 31.91 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.1471, allocations: 87.67 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1473, allocations: 59.89 kB / 483.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1475, allocations: 111.6 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1476, allocations: 12 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.774e-05/0.1477, allocations: 51.72 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1479, allocations: 43.78 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1479, allocations: 4 kB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.1481, allocations: 115.9 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.1482, allocations: 15.92 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.1482, allocations: 31.8 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1485, allocations: 171.8 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1485, allocations: 4 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1485, allocations: 4 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1485, allocations: 0 / 483.6 MB, free: 1.457 MB / 350.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.0005528/0.1491, allocations: 427 kB / 484 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1491, allocations: 8.031 kB / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1492, allocations: 8.844 kB / 484 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1494, allocations: 211.7 kB / 484.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1494, allocations: 3.938 kB / 484.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1495, allocations: 4 kB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1496, allocations: 71.39 kB / 484.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1496, allocations: 0 / 484.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1497, allocations: 7.922 kB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1497, allocations: 0 / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.1498, allocations: 19.98 kB / 484.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.1501, allocations: 284.9 kB / 484.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1503, allocations: 58.67 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.1503, allocations: 24.8 kB / 484.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1504, allocations: 0 / 484.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.1506, allocations: 67.38 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1506, allocations: 0 / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005351/0.1511, allocations: 185.1 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1512, allocations: 81.05 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1513, allocations: 158.5 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1514, allocations: 33.7 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1514, allocations: 96.12 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1515, allocations: 27.64 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1515, allocations: 21.72 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1516, allocations: 322.8 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.1517, allocations: 23.98 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1518, allocations: 54.44 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1519, allocations: 53.66 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1519, allocations: 0 / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1521, allocations: 105.5 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1521, allocations: 8 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1521, allocations: 4.062 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1522, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.1523, allocations: 15.98 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1523, allocations: 12.08 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1523, allocations: 0 / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1523, allocations: 4 kB / 486 MB, free: 14.86 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.0001087/0.1525, allocations: 125.8 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1525, allocations: 11.81 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.1525, allocations: 24.64 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1525, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1526, allocations: 3.938 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1526, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.153, allocations: 395.3 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.153, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.1531, allocations: 11.94 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1531, allocations: 3.984 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1531, allocations: 4.031 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1531, allocations: 4 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1531, allocations: 0 / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1533, allocations: 196.3 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.1534, allocations: 88.95 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1534, allocations: 7.984 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1535, allocations: 4.375 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1535, allocations: 7.938 kB / 486.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1535, allocations: 8 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1537, allocations: 134.3 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1537, allocations: 0 / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.154, allocations: 44 kB / 487 MB, free: 13.7 MB / 366.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.001156/0.1551, allocations: 0.5357 MB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1553, allocations: 67.89 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1553, allocations: 0 / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.1554, allocations: 31.92 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1557, allocations: 27.92 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.1562, allocations: 230.8 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1564, allocations: 0.6963 MB / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1565, allocations: 25.17 kB / 488.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.1566, allocations: 19.44 kB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1566, allocations: 0 / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Templates: time 0.004909/0.1615, allocations: 2.347 MB / 491 MB, free: 9.867 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)