Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001372/0.001372, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.00143, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.234/0.234, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003318/0.003318, allocations: 75.86 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1282, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003383/0.1316, allocations: 1.857 MB / 482.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1334, allocations: 1.044 MB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.1335, allocations: 4 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.1337, allocations: 63.67 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1341, allocations: 119.4 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.1346, allocations: 206.3 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1349, allocations: 203.4 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1351, allocations: 21.55 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1352, allocations: 83.67 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1354, allocations: 103.6 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.1354, allocations: 15.94 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1356, allocations: 47.98 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.1357, allocations: 39.89 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1358, allocations: 71.53 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.1361, allocations: 195.6 kB / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1361, allocations: 0 / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1361, allocations: 0 / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1361, allocations: 0 / 484.3 MB, free: 1.055 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.001259/0.1374, allocations: 0.5838 MB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1374, allocations: 8.031 kB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.1375, allocations: 38.73 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.1376, allocations: 16.75 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1379, allocations: 236.7 kB / 485.1 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.1379, allocations: 16.34 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.1379, allocations: 7.938 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.1385, allocations: 157.4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1385, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1386, allocations: 3.984 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1386, allocations: 7.938 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.1393, allocations: 163.8 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.1402, allocations: 432.5 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.141, allocations: 206.3 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.1415, allocations: 88.77 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1415, allocations: 4 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/0.1421, allocations: 163.4 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.1421, allocations: 0 / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003941/0.1461, allocations: 0.8436 MB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.1461, allocations: 59.34 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1464, allocations: 249 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.1465, allocations: 33.7 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.1466, allocations: 128 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.1466, allocations: 35.55 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.1467, allocations: 33.7 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1469, allocations: 334.8 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/0.1477, allocations: 171.8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.1484, allocations: 179.7 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.1499, allocations: 386.3 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1499, allocations: 0 / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001646/0.1515, allocations: 468.3 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.1517, allocations: 59.52 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1517, allocations: 3.938 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1517, allocations: 0 / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.1521, allocations: 79.83 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1522, allocations: 8.547 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.1526, allocations: 67.91 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1526, allocations: 4 kB / 489.5 MB, free: 11.57 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.0001657/0.1528, allocations: 137.8 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.1528, allocations: 15.81 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1545, allocations: 418.6 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1545, allocations: 11.88 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1545, allocations: 0 / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1545, allocations: 7.984 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.1565, allocations: 0.7207 MB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1565, allocations: 4 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.1569, allocations: 71.84 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1569, allocations: 4 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1569, allocations: 3.984 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1569, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1569, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.1585, allocations: 494.8 kB / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.1586, allocations: 96.84 kB / 491.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.1587, allocations: 8 kB / 491.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.1591, allocations: 63.91 kB / 491.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1593, allocations: 51.92 kB / 491.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1593, allocations: 4 kB / 491.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1595, allocations: 188.5 kB / 491.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1595, allocations: 0 / 491.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.1598, allocations: 48 kB / 491.8 MB, free: 9.148 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.003383/0.1632, allocations: 1.319 MB / 493.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.165, allocations: 498.3 kB / 493.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.165, allocations: 0 / 493.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.1658, allocations: 187.7 kB / 493.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.1663, allocations: 37.83 kB / 493.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.1729, allocations: 2.883 MB / 496.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1734, allocations: 0.728 MB / 497.4 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000175/0.1736, allocations: 33.39 kB / 497.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.1737, allocations: 59.41 kB / 497.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1737, allocations: 0 / 497.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.2061, allocations: 5.75 MB / 0.4915 GB, free: 13.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.255, allocations: 8.5 kB / 0.4915 GB, free: 13.73 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)