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.001091/0.001091, allocations: 115.9 kB / 18.41 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 84.06 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 62.45 MB / 481.5 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003132/0.128, allocations: 1.734 MB / 483.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1302, allocations: 1.627 MB / 484.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.1303, allocations: 0 / 484.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1306, allocations: 39.77 kB / 484.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1309, allocations: 99.55 kB / 485 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.1311, allocations: 79.67 kB / 485 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1313, allocations: 107.7 kB / 485.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1315, allocations: 12 kB / 485.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.1315, allocations: 47.77 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.1317, allocations: 43.78 kB / 485.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1317, allocations: 4 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.1319, allocations: 107.9 kB / 485.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.132, allocations: 23.91 kB / 485.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.132, allocations: 31.75 kB / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1323, allocations: 171.6 kB / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1323, allocations: 0 / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1323, allocations: 0 / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1323, allocations: 3.938 kB / 485.6 MB, free: 376 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.0005969/0.1329, allocations: 423.1 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.133, allocations: 8.031 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.133, allocations: 12.84 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1333, allocations: 211.6 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1334, allocations: 15.81 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1334, allocations: 4 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1336, allocations: 71.39 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1336, allocations: 0 / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1336, allocations: 0 / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1336, allocations: 0 / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.1337, allocations: 23.92 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.134, allocations: 284.9 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1342, allocations: 66.61 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1342, allocations: 16.86 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1343, allocations: 4 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.1344, allocations: 63.39 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1344, allocations: 0 / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005049/0.1349, allocations: 173.1 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.135, allocations: 89.05 kB / 487 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1352, allocations: 162.5 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1352, allocations: 25.7 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.1353, allocations: 104.1 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1353, allocations: 27.64 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1353, allocations: 25.7 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1355, allocations: 318.8 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.1355, allocations: 20 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.1356, allocations: 50.92 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1357, allocations: 53.72 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1357, allocations: 0 / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.1359, allocations: 105.5 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1359, allocations: 4 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1359, allocations: 0 / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.136, allocations: 4.062 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.136, allocations: 19.94 kB / 487.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1361, allocations: 3.938 kB / 487.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.1361, allocations: 15.97 kB / 487.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1361, allocations: 0 / 487.9 MB, free: 13.76 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 8.868e-05/0.1362, allocations: 117.8 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.1363, allocations: 11.81 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1363, allocations: 16.7 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1363, allocations: 4.188 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1363, allocations: 7.938 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1363, allocations: 3.938 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.1368, allocations: 395.3 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1368, allocations: 0 / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.1368, allocations: 15.88 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1368, allocations: 0 / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1369, allocations: 7.984 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1369, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1369, allocations: 4.031 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1371, allocations: 200.5 kB / 488.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.1372, allocations: 88.95 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1373, allocations: 0 / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.558e-05/0.1373, allocations: 11.98 kB / 488.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1374, allocations: 4 kB / 488.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1374, allocations: 8 kB / 488.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.1375, allocations: 126.3 kB / 488.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1375, allocations: 0 / 488.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1378, allocations: 43.98 kB / 489 MB, free: 12.61 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.001185/0.139, allocations: 0.5447 MB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1392, allocations: 59.91 kB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1392, allocations: 4 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1393, allocations: 28.08 kB / 489.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1396, allocations: 38.45 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.1401, allocations: 198.9 kB / 489.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1403, allocations: 0.7002 MB / 490.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.1404, allocations: 16.88 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1404, allocations: 19.38 kB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1404, allocations: 0 / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.004967/0.1454, allocations: 2.346 MB / 492.9 MB, free: 8.801 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 -s gbode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)