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.0009823/0.0009823, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 12 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002912/0.1374, allocations: 1.446 MB / 485.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.1407, allocations: 1.581 MB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1408, allocations: 3.938 kB / 486.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1412, allocations: 31.84 kB / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1415, allocations: 83.73 kB / 486.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1418, allocations: 59.88 kB / 486.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.142, allocations: 111.6 kB / 487.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1421, allocations: 8 kB / 487.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1422, allocations: 43.77 kB / 487.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1424, allocations: 43.78 kB / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1424, allocations: 0 / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.1426, allocations: 103.9 kB / 487.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.1427, allocations: 15.91 kB / 487.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.1428, allocations: 53.52 kB / 487.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1431, allocations: 132 kB / 487.4 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1431, allocations: 3.938 kB / 487.4 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1431, allocations: 4 kB / 487.5 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1431, allocations: 0 / 487.5 MB, free: 384 kB / 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.0006641/0.1438, allocations: 403.2 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1438, allocations: 8.875 kB / 487.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.1439, allocations: 12.84 kB / 487.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1442, allocations: 204.7 kB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1442, allocations: 15.94 kB / 488.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1442, allocations: 0 / 488.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1444, allocations: 75.31 kB / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1444, allocations: 0 / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1445, allocations: 3.938 kB / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1445, allocations: 0 / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.1446, allocations: 19.98 kB / 488.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.145, allocations: 292.9 kB / 488.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1452, allocations: 58.61 kB / 488.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1452, allocations: 16.86 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1453, allocations: 4 kB / 488.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.1454, allocations: 71.38 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1455, allocations: 0 / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005762/0.146, allocations: 177.1 kB / 488.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.1461, allocations: 81.05 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1463, allocations: 162.5 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1463, allocations: 33.69 kB / 489.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.1464, allocations: 92.14 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.1464, allocations: 27.64 kB / 489.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.1465, allocations: 17.72 kB / 489.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1466, allocations: 322.8 kB / 489.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.1467, allocations: 23.98 kB / 489.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.1468, allocations: 50.44 kB / 489.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1469, allocations: 49.72 kB / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1469, allocations: 0 / 489.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002116/0.1471, allocations: 109.5 kB / 489.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1472, allocations: 8 kB / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1472, allocations: 0 / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1472, allocations: 0 / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.1473, allocations: 19.98 kB / 489.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1473, allocations: 3.938 kB / 489.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.1474, allocations: 0 / 489.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1474, allocations: 4 kB / 489.8 MB, free: 13.8 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.0001129/0.1475, allocations: 129.8 kB / 489.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.1475, allocations: 12.19 kB / 489.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.1476, allocations: 16.7 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1476, allocations: 0 / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1476, allocations: 3.938 kB / 489.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.1476, allocations: 11.98 kB / 489.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1481, allocations: 391.3 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1481, allocations: 3.938 kB / 490.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1481, allocations: 15.97 kB / 490.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1481, allocations: 0 / 490.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1481, allocations: 11.98 kB / 490.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1482, allocations: 0 / 490.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1482, allocations: 0 / 490.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1484, allocations: 196.2 kB / 490.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1485, allocations: 96.94 kB / 490.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1485, allocations: 4 kB / 490.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.1486, allocations: 8 kB / 490.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1486, allocations: 7.984 kB / 490.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1487, allocations: 4 kB / 490.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1488, allocations: 124.5 kB / 490.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1488, allocations: 0 / 490.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1491, allocations: 47.98 kB / 490.8 MB, free: 12.63 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.001345/0.1505, allocations: 0.5393 MB / 491.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1507, allocations: 59.91 kB / 491.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1507, allocations: 0 / 491.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.1508, allocations: 27.98 kB / 491.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1512, allocations: 40.03 kB / 491.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.1517, allocations: 247.7 kB / 491.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.152, allocations: 0.7043 MB / 492.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.152, allocations: 19.42 kB / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.152, allocations: 0 / 492.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.004795/0.1568, allocations: 2.39 MB / 494.8 MB, free: 8.742 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)