Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 109.6 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.4 MB, free: 9.148 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.11 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 80.11 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1246, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003627/0.1282, allocations: 1.927 MB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1301, allocations: 1.021 MB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1302, allocations: 8 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1306, allocations: 63.78 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.131, allocations: 99.59 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.1315, allocations: 186.8 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.1318, allocations: 199.5 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1319, allocations: 29.47 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1321, allocations: 83.69 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1322, allocations: 103.6 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.1323, allocations: 20 kB / 483.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1324, allocations: 43.98 kB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1325, allocations: 35.84 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1326, allocations: 83.5 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1328, allocations: 187.7 kB / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1329, allocations: 0 / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1329, allocations: 0 / 483.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1329, allocations: 0 / 483.7 MB, free: 1.398 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001109/0.134, allocations: 0.5799 MB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.134, allocations: 12.02 kB / 484.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1341, allocations: 34.75 kB / 484.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.224e-05/0.1342, allocations: 20.75 kB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1344, allocations: 244.9 kB / 484.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1345, allocations: 4.375 kB / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1345, allocations: 7.938 kB / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.135, allocations: 153.5 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.135, allocations: 0 / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.135, allocations: 0 / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.135, allocations: 4 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.1357, allocations: 167.8 kB / 484.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.1366, allocations: 440.4 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.1374, allocations: 194.4 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.1377, allocations: 92.77 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1378, allocations: 3.984 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.1383, allocations: 175.1 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.1384, allocations: 0 / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003627/0.142, allocations: 0.8398 MB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1421, allocations: 55.34 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1423, allocations: 257 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1424, allocations: 33.7 kB / 486.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.1425, allocations: 124 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.1425, allocations: 39.69 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.1426, allocations: 33.7 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1428, allocations: 326.8 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.1435, allocations: 179.7 kB / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.1441, allocations: 187.7 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1455, allocations: 378.2 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1455, allocations: 112 / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001599/0.1471, allocations: 472.3 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/0.1472, allocations: 63.39 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1472, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.1472, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1477, allocations: 79.78 kB / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1477, allocations: 0 / 488.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.1481, allocations: 63.91 kB / 488.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.1482, allocations: 8 kB / 488.9 MB, free: 11.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.000164/0.1484, allocations: 137.8 kB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.1484, allocations: 15.81 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.1499, allocations: 423 kB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.15, allocations: 3.938 kB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.15, allocations: 4 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.15, allocations: 0 / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.1518, allocations: 0.7165 MB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1519, allocations: 0.5625 kB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.1522, allocations: 83.77 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1523, allocations: 0 / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1523, allocations: 4 kB / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1523, allocations: 0 / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1523, allocations: 0 / 490.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.1538, allocations: 498.8 kB / 490.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.1539, allocations: 96.84 kB / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.154, allocations: 8 kB / 490.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.1544, allocations: 67.89 kB / 490.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.1546, allocations: 51.92 kB / 490.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1546, allocations: 0 / 490.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1548, allocations: 188.5 kB / 491.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1548, allocations: 0 / 491.1 MB, free: 9.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1551, allocations: 47.98 kB / 491.2 MB, free: 9.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002639/0.1578, allocations: 1.324 MB / 492.5 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.1593, allocations: 490.3 kB / 493 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1593, allocations: 4 kB / 493 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.1601, allocations: 187.7 kB / 493.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1606, allocations: 39.73 kB / 493.2 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.1665, allocations: 2.914 MB / 496.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1668, allocations: 0.7319 MB / 496.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.167, allocations: 29.41 kB / 496.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1672, allocations: 55.41 kB / 496.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1672, allocations: 0 / 496.9 MB, free: 3.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1843, allocations: 5.345 MB / 0.4905 GB, free: 14.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.1846, allocations: 235.8 kB / 0.4907 GB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.237, allocations: 7.875 kB / 0.4907 GB, free: 14.21 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)