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.001668/0.001668, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 73.42 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004606/0.1239, allocations: 1.889 MB / 481.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1262, allocations: 1.08 MB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1264, allocations: 4 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.127, allocations: 295.4 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005882/0.1277, allocations: 239.4 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.128, allocations: 83.86 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004355/0.1285, allocations: 259.3 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.757e-05/0.1286, allocations: 9.688 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.1288, allocations: 135.5 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.1291, allocations: 207.9 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.1291, allocations: 4 kB / 483.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1293, allocations: 43.98 kB / 483.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1294, allocations: 132.5 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1296, allocations: 150.8 kB / 484.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.1301, allocations: 370.9 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1301, allocations: 0 / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1301, allocations: 0 / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1301, allocations: 0 / 484.5 MB, free: 0.6289 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.001135/0.1313, allocations: 0.7308 MB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1313, allocations: 8.031 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/0.1314, allocations: 30.75 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1315, allocations: 52.28 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.1322, allocations: 459.7 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1322, allocations: 4.375 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1322, allocations: 7.938 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1324, allocations: 83.36 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1325, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1325, allocations: 4 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1325, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1326, allocations: 35.86 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.1331, allocations: 374.4 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1334, allocations: 105.2 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1335, allocations: 41.7 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1335, allocations: 7.938 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.1338, allocations: 105.1 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.1338, allocations: 0 / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005326/0.1344, allocations: 204.9 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.1345, allocations: 81.11 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1356, allocations: 1.022 MB / 487.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1356, allocations: 33.69 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1358, allocations: 232.1 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.1359, allocations: 27.64 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.1359, allocations: 29.7 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1361, allocations: 370.7 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.1362, allocations: 28.48 kB / 488.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1363, allocations: 55.42 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1365, allocations: 95.34 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1365, allocations: 7.938 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003255/0.1369, allocations: 165 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1369, allocations: 6.969 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1369, allocations: 0 / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1369, allocations: 4 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1371, allocations: 23.92 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1371, allocations: 0 / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1372, allocations: 19.89 kB / 488.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1372, allocations: 8.062 kB / 488.9 MB, free: 11.93 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.0002166/0.1374, allocations: 213.7 kB / 489.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.1375, allocations: 59.33 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.492e-05/0.1376, allocations: 56.09 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1376, allocations: 4 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1376, allocations: 0 / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1376, allocations: 0 / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.138, allocations: 349.3 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.138, allocations: 0 / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.138, allocations: 11.94 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.138, allocations: 7.938 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1381, allocations: 4.125 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1381, allocations: 7.984 kB / 489.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1381, allocations: 3.984 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1384, allocations: 205.2 kB / 489.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1386, allocations: 132.5 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.1386, allocations: 4 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.1387, allocations: 7.984 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1388, allocations: 8 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.1388, allocations: 11.92 kB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008168/0.1396, allocations: 0.7604 MB / 490.7 MB, free: 10 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1396, allocations: 0 / 490.7 MB, free: 10 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1399, allocations: 44 kB / 490.7 MB, free: 9.961 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.001514/0.1414, allocations: 1.037 MB / 491.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.1417, allocations: 91.83 kB / 491.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1417, allocations: 0 / 491.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1418, allocations: 44.11 kB / 491.9 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1423, allocations: 74.7 kB / 492 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/0.1482, allocations: 4.639 MB / 496.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1487, allocations: 0.8426 MB / 497.5 MB, free: 3.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.1488, allocations: 50.95 kB / 497.5 MB, free: 3.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.149, allocations: 155.4 kB / 497.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1491, allocations: 0 / 497.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1715, allocations: 8.634 MB / 0.4944 GB, free: 10.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.1717, allocations: 239 kB / 0.4947 GB, free: 10.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.266, allocations: 4 kB / 0.4947 GB, free: 10.21 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)