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.001436/0.001436, allocations: 107.4 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.09 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002572, allocations: 76.81 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1482, allocations: 62.45 MB / 480.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003048/0.1513, allocations: 1.781 MB / 481.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1535, allocations: 1.6 MB / 483.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.1536, allocations: 0 / 483.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.1539, allocations: 39.89 kB / 483.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.1543, allocations: 83.69 kB / 483.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1545, allocations: 59.88 kB / 483.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1547, allocations: 107.7 kB / 483.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1548, allocations: 11.98 kB / 483.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.1549, allocations: 47.73 kB / 483.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1551, allocations: 47.77 kB / 483.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1551, allocations: 4 kB / 483.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.1553, allocations: 107.9 kB / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.1554, allocations: 23.92 kB / 484.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.1555, allocations: 35.78 kB / 484.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1557, allocations: 128 kB / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1557, allocations: 0 / 484.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1557, allocations: 4 kB / 484.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1557, allocations: 0 / 484.2 MB, free: 1.523 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.0005448/0.1563, allocations: 419 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1563, allocations: 12.03 kB / 484.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.1564, allocations: 8.844 kB / 484.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1566, allocations: 216.6 kB / 484.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1566, allocations: 3.938 kB / 484.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1567, allocations: 12 kB / 484.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1568, allocations: 67.33 kB / 485 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1568, allocations: 0 / 485 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1568, allocations: 4 kB / 485 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1569, allocations: 0 / 485 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.1569, allocations: 19.92 kB / 485 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.1573, allocations: 288.9 kB / 485.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1574, allocations: 54.67 kB / 485.3 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.1575, allocations: 24.84 kB / 485.3 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1575, allocations: 0 / 485.3 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.1577, allocations: 71.33 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1577, allocations: 0 / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005246/0.1583, allocations: 185.3 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1583, allocations: 85.05 kB / 485.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1585, allocations: 158.5 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1585, allocations: 25.7 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1586, allocations: 96.14 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1586, allocations: 27.64 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1586, allocations: 25.72 kB / 486 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1588, allocations: 326.8 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.1588, allocations: 19.98 kB / 486.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.1589, allocations: 38.56 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.159, allocations: 69.7 kB / 486.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.159, allocations: 0 / 486.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.1592, allocations: 97.56 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1592, allocations: 4 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1592, allocations: 4 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1593, allocations: 0 / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.1594, allocations: 19.98 kB / 486.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1594, allocations: 3.938 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1594, allocations: 4 kB / 486.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/0.1594, allocations: 4 kB / 486.6 MB, free: 14.93 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 9.398e-05/0.1595, allocations: 128.7 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1596, allocations: 19.81 kB / 486.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.1596, allocations: 8.906 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1596, allocations: 4 kB / 486.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1596, allocations: 7.875 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1597, allocations: 3.938 kB / 486.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1601, allocations: 395.3 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1601, allocations: 0 / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.1601, allocations: 19.91 kB / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1602, allocations: 4 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1602, allocations: 0 / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1602, allocations: 0 / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1602, allocations: 0 / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1604, allocations: 200.3 kB / 487.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1604, allocations: 92.94 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.1605, allocations: 8 kB / 487.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.1606, allocations: 4 kB / 487.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.1606, allocations: 7.984 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1606, allocations: 4 kB / 487.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1607, allocations: 130.2 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1607, allocations: 0 / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.161, allocations: 47.98 kB / 487.6 MB, free: 13.76 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.00115/0.1622, allocations: 0.5407 MB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1624, allocations: 55.92 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1624, allocations: 0 / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/0.1624, allocations: 27.98 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1628, allocations: 36.03 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.1632, allocations: 264.3 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1634, allocations: 0.6963 MB / 489.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1635, allocations: 27.36 kB / 489.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1635, allocations: 0 / 489.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.4808/0.6443, allocations: 2.396 MB / 491.7 MB, free: 9.852 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)