Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001238, 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.432/1.432, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.1 MB / 343.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 73.83 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1392, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004045/0.1433, allocations: 1.886 MB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1454, allocations: 1.088 MB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.1456, allocations: 7.938 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.1462, allocations: 299.4 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.1468, allocations: 235.4 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1471, allocations: 91.78 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.1475, allocations: 251.4 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/0.1476, allocations: 9.688 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1478, allocations: 123.5 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1481, allocations: 191.4 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1481, allocations: 4 kB / 483.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1483, allocations: 47.98 kB / 483.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1485, allocations: 131.6 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1486, allocations: 158.7 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.149, allocations: 359 kB / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1491, allocations: 0 / 484.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1491, allocations: 4 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1491, allocations: 0 / 484.2 MB, free: 0.7656 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.001053/0.1501, allocations: 0.7347 MB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1502, allocations: 12.88 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.514e-05/0.1503, allocations: 34.75 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1504, allocations: 52.28 kB / 485.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.1511, allocations: 455.8 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1511, allocations: 4.375 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1511, allocations: 11.94 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.1513, allocations: 83.36 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1514, allocations: 0 / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1514, allocations: 0 / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1514, allocations: 0 / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1515, allocations: 35.91 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.152, allocations: 382.4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1523, allocations: 109.1 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.1524, allocations: 41.69 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1525, allocations: 8 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.1528, allocations: 105 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1528, allocations: 0 / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005252/0.1533, allocations: 193.4 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1534, allocations: 85.03 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1545, allocations: 1.058 MB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1545, allocations: 33.64 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1547, allocations: 236.1 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.1548, allocations: 23.7 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.1548, allocations: 29.72 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.155, allocations: 378.7 kB / 488.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.1551, allocations: 28.11 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.1552, allocations: 63.42 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.1554, allocations: 83.34 kB / 488.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.1554, allocations: 3.938 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003068/0.1557, allocations: 176.9 kB / 488.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1557, allocations: 4 kB / 488.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1557, allocations: 4 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1558, allocations: 0 / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1559, allocations: 23.92 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1559, allocations: 4 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.156, allocations: 11.92 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.156, allocations: 8 kB / 488.7 MB, free: 12.01 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.0002139/0.1562, allocations: 218.6 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.1563, allocations: 59.36 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.1564, allocations: 64.14 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1564, allocations: 0 / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1565, allocations: 3.938 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1565, allocations: 0 / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.1568, allocations: 349.4 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1568, allocations: 4.125 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.1568, allocations: 4 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1568, allocations: 7.984 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1569, allocations: 7.984 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1569, allocations: 4 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1569, allocations: 4 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.1572, allocations: 201.2 kB / 489.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1573, allocations: 136.4 kB / 489.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.1574, allocations: 4 kB / 489.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1575, allocations: 7.984 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1575, allocations: 11.98 kB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1576, allocations: 8 kB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007796/0.1584, allocations: 0.784 MB / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1584, allocations: 3.938 kB / 490.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1586, allocations: 40 kB / 490.6 MB, free: 10.01 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.00152/0.1602, allocations: 1.047 MB / 491.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1605, allocations: 79.84 kB / 491.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1605, allocations: 4 kB / 491.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1606, allocations: 35.97 kB / 491.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.1611, allocations: 73.27 kB / 491.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.1672, allocations: 4.757 MB / 496.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.1677, allocations: 0.8468 MB / 497.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1678, allocations: 54.95 kB / 497.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.168, allocations: 147.4 kB / 497.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1681, allocations: 4 kB / 497.6 MB, free: 2.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.1906, allocations: 8.651 MB / 0.4944 GB, free: 10.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.1908, allocations: 233 kB / 0.4946 GB, free: 10.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.185, allocations: 0 / 0.4946 GB, free: 10.13 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)