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.001301/0.001301, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 81.28 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1133, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003089/0.1165, allocations: 1.85 MB / 482 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.118, allocations: 1.033 MB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.1181, allocations: 4 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1184, allocations: 67.66 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1187, allocations: 119.4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.1192, allocations: 210.8 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1195, allocations: 203.4 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1196, allocations: 29.47 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1197, allocations: 79.75 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1199, allocations: 107.6 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1199, allocations: 20 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/0.12, allocations: 43.98 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.1201, allocations: 35.91 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.1202, allocations: 83.5 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1204, allocations: 187.6 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1205, allocations: 3.938 kB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1205, allocations: 0 / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1205, allocations: 0 / 484.2 MB, free: 1.121 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.001026/0.1215, allocations: 0.576 MB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1215, allocations: 16.02 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.1216, allocations: 34.75 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1217, allocations: 16.75 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.1219, allocations: 240.9 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1219, allocations: 8.375 kB / 485.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.122, allocations: 11.94 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.1225, allocations: 153.5 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1225, allocations: 0 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1225, allocations: 3.938 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1225, allocations: 0 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.1233, allocations: 163.8 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.1241, allocations: 440.5 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/0.1249, allocations: 206.3 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003851/0.1253, allocations: 88.77 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1253, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005343/0.1259, allocations: 171.2 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.1259, allocations: 0 / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003797/0.1297, allocations: 0.8319 MB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.1297, allocations: 63.34 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.13, allocations: 257 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.13, allocations: 29.7 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/0.1301, allocations: 128.6 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.1302, allocations: 35.69 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/0.1303, allocations: 37.7 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1304, allocations: 326.8 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.1311, allocations: 171.8 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.1319, allocations: 182.4 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.1333, allocations: 391.8 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1333, allocations: 4.047 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001591/0.1349, allocations: 472.3 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.135, allocations: 65.58 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.135, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.135, allocations: 0 / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.1354, allocations: 75.84 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1355, allocations: 0 / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.1359, allocations: 59.91 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1359, allocations: 12 kB / 489.4 MB, free: 11.64 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.0001414/0.1361, allocations: 137.8 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1361, allocations: 15.81 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.1377, allocations: 423 kB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1377, allocations: 3.938 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1377, allocations: 4 kB / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1378, allocations: 0 / 489.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.1396, allocations: 0.7239 MB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1396, allocations: 0 / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.14, allocations: 79.83 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.14, allocations: 0 / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.14, allocations: 4 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.14, allocations: 0 / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1401, allocations: 0 / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.1416, allocations: 490.8 kB / 491.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1417, allocations: 100.8 kB / 491.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.1417, allocations: 4 kB / 491.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.1422, allocations: 71.89 kB / 491.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.1423, allocations: 39.95 kB / 491.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1424, allocations: 7.984 kB / 491.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.1425, allocations: 192.5 kB / 491.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1425, allocations: 0 / 491.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1428, allocations: 47.98 kB / 491.7 MB, free: 9.227 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.002632/0.1455, allocations: 1.312 MB / 493 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.1471, allocations: 0.4897 MB / 493.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1471, allocations: 3.938 kB / 493.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.1479, allocations: 187.8 kB / 493.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1483, allocations: 49.77 kB / 493.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/0.1544, allocations: 2.875 MB / 496.6 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1548, allocations: 0.728 MB / 497.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.155, allocations: 29.41 kB / 497.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1551, allocations: 55.41 kB / 497.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1551, allocations: 0 / 497.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1796, allocations: 5.739 MB / 0.4914 GB, free: 13.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.269, allocations: 17.06 kB / 0.4914 GB, free: 13.8 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)