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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009812/0.0009812, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001188, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 45.92 MB / 344.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002718, allocations: 12 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 63.48 MB / 481.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002536/0.1504, allocations: 1.435 MB / 483.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1527, allocations: 1.515 MB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.1528, allocations: 0 / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1531, allocations: 39.83 kB / 484.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1534, allocations: 79.73 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1537, allocations: 91.77 kB / 484.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1539, allocations: 91.69 kB / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.154, allocations: 12 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.665e-05/0.154, allocations: 39.78 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1542, allocations: 39.83 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1542, allocations: 0 / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1544, allocations: 95.88 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1545, allocations: 15.92 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.1545, allocations: 33.7 kB / 485.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1547, allocations: 131.9 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1547, allocations: 0 / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1548, allocations: 0 / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1548, allocations: 8 kB / 485.3 MB, free: 1.582 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.000619/0.1554, allocations: 407 kB / 485.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1554, allocations: 12.03 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.1555, allocations: 34.55 kB / 485.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1555, allocations: 7.906 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1558, allocations: 203.5 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1558, allocations: 3.938 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1559, allocations: 8 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1561, allocations: 71.33 kB / 486 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1561, allocations: 8 kB / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1561, allocations: 0 / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1561, allocations: 0 / 486 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.1562, allocations: 19.98 kB / 486 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1566, allocations: 292.8 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1568, allocations: 58.62 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.1568, allocations: 32.77 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1569, allocations: 0 / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.157, allocations: 67.3 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.157, allocations: 0 / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005214/0.1576, allocations: 169.3 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.1577, allocations: 81.06 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1578, allocations: 166.5 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1579, allocations: 25.7 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1579, allocations: 100.1 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.158, allocations: 23.66 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.158, allocations: 0 / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1581, allocations: 322.8 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.1582, allocations: 23.98 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.1583, allocations: 46.5 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.855e-05/0.1583, allocations: 20 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1583, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1585, allocations: 109.4 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1586, allocations: 8 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.1586, allocations: 64 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1586, allocations: 4 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.1587, allocations: 15.98 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1587, allocations: 7.953 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.1588, allocations: 0 / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1588, allocations: 4.156 kB / 487.6 MB, free: 15.03 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.1589, allocations: 121.8 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.1589, allocations: 7.906 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.159, allocations: 20.69 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.159, allocations: 11.88 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.159, allocations: 0 / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.159, allocations: 3.953 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.1595, allocations: 391.8 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1595, allocations: 3.938 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1595, allocations: 12 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1595, allocations: 3.984 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1595, allocations: 0 / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1595, allocations: 11.98 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1595, allocations: 192 / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1598, allocations: 196.3 kB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1599, allocations: 96.84 kB / 488.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1599, allocations: 4 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.16, allocations: 4 kB / 488.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.16, allocations: 23.88 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1601, allocations: 0 / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1602, allocations: 126.5 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1602, allocations: 4 kB / 488.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1605, allocations: 43.98 kB / 488.6 MB, free: 13.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001664/0.1621, allocations: 1.167 MB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.1623, allocations: 59.91 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1623, allocations: 0 / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.1624, allocations: 35.98 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1628, allocations: 29.84 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1639, allocations: 0.6703 MB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1642, allocations: 0.6965 MB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.549e-05/0.1643, allocations: 25.17 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.1643, allocations: 35.41 kB / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1644, allocations: 0 / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.1821, allocations: 3.54 MB / 494.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.1824, allocations: 230.2 kB / 495.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.097, allocations: 0 / 495.1 MB, free: 7.566 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)