Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001106, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 76.22 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 62.46 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004267/0.1449, allocations: 1.886 MB / 481.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1471, allocations: 1.092 MB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1474, allocations: 0 / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.148, allocations: 295.3 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.1486, allocations: 231.4 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.149, allocations: 87.84 kB / 483 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.1494, allocations: 243.3 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.1495, allocations: 13.67 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.1498, allocations: 127.5 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.1501, allocations: 187.9 kB / 483.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1501, allocations: 4 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1503, allocations: 43.98 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.1504, allocations: 136.5 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1506, allocations: 142.8 kB / 483.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.151, allocations: 355 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.151, allocations: 4 kB / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1511, allocations: 0 / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1511, allocations: 0 / 484.2 MB, free: 0.8164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001154/0.1522, allocations: 0.7308 MB / 484.9 MB, free: 36 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1523, allocations: 12.88 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.48e-05/0.1524, allocations: 30.75 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1525, allocations: 48.28 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.1531, allocations: 451.7 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1532, allocations: 8.359 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1532, allocations: 11.94 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1534, allocations: 87.36 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1534, allocations: 0 / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1535, allocations: 0 / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1535, allocations: 0 / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1536, allocations: 35.89 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1541, allocations: 374.4 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1544, allocations: 109.2 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.1545, allocations: 41.64 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1545, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1549, allocations: 113.1 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1549, allocations: 0 / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005516/0.1554, allocations: 196.9 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.1555, allocations: 81.05 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.1566, allocations: 1.026 MB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1567, allocations: 33.64 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1569, allocations: 236.1 kB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.1569, allocations: 27.66 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.157, allocations: 33.7 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1571, allocations: 362.8 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.1572, allocations: 27.98 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1574, allocations: 59.41 kB / 488.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1576, allocations: 95.86 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1576, allocations: 3.938 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003376/0.1579, allocations: 164.9 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1579, allocations: 4 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1579, allocations: 4 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.158, allocations: 64 / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1581, allocations: 31.92 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1581, allocations: 3.984 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1582, allocations: 11.91 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1583, allocations: 4 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002234/0.1585, allocations: 222.6 kB / 488.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.1586, allocations: 43.44 kB / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.1587, allocations: 64.09 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1587, allocations: 0 / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1587, allocations: 4 kB / 488.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1587, allocations: 4 kB / 488.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.159, allocations: 349.2 kB / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.159, allocations: 0 / 489.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.1591, allocations: 15.92 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1591, allocations: 0 / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1591, allocations: 4 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1591, allocations: 0 / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1591, allocations: 0 / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1595, allocations: 213.3 kB / 489.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1596, allocations: 132.5 kB / 489.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.1597, allocations: 7.984 kB / 489.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.1597, allocations: 4 kB / 489.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.1598, allocations: 15.92 kB / 489.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1598, allocations: 4 kB / 489.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007963/0.1606, allocations: 0.7605 MB / 490.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1606, allocations: 7.938 kB / 490.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1609, allocations: 47.98 kB / 490.5 MB, free: 10.14 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001522/0.1625, allocations: 1.036 MB / 491.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1627, allocations: 87.89 kB / 491.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1627, allocations: 3.938 kB / 491.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1628, allocations: 35.98 kB / 491.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1633, allocations: 69.83 kB / 491.7 MB, free: 9.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.1697, allocations: 4.648 MB / 496.4 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.1702, allocations: 0.8429 MB / 497.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1704, allocations: 58.94 kB / 497.3 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.1706, allocations: 143.4 kB / 497.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1707, allocations: 4 kB / 497.4 MB, free: 3.191 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1934, allocations: 8.486 MB / 0.494 GB, free: 10.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.1937, allocations: 232.9 kB / 0.4943 GB, free: 10.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.189, allocations: 0 / 0.4943 GB, free: 10.55 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)