Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001994/0.001994, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.227/0.227, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002235/0.002235, allocations: 88.69 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1297, allocations: 62.46 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003531/0.1333, allocations: 1.863 MB / 482.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1353, allocations: 1.013 MB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1355, allocations: 4 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1358, allocations: 59.72 kB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1362, allocations: 119.4 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1368, allocations: 167 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.1371, allocations: 195.5 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1372, allocations: 29.47 kB / 483.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1374, allocations: 79.75 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1376, allocations: 103.6 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.1376, allocations: 12 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1378, allocations: 43.92 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1379, allocations: 43.83 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.138, allocations: 67.59 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1383, allocations: 195.7 kB / 484.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1383, allocations: 4 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1383, allocations: 0 / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1383, allocations: 0 / 484.2 MB, free: 1.148 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.001201/0.1395, allocations: 0.5779 MB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1396, allocations: 12.03 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.1396, allocations: 42.69 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.1397, allocations: 20.73 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.14, allocations: 236.7 kB / 485.1 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.14, allocations: 4.375 kB / 485.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.14, allocations: 7.938 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1405, allocations: 141.5 kB / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1406, allocations: 4.047 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1406, allocations: 4 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1406, allocations: 0 / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.1414, allocations: 171.7 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.1419, allocations: 368.6 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.1428, allocations: 190.4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.1432, allocations: 88.75 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1432, allocations: 4 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.1438, allocations: 179 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.1438, allocations: 0 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003873/0.1477, allocations: 0.8085 MB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1478, allocations: 63.34 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1481, allocations: 252.1 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.1481, allocations: 29.69 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.1482, allocations: 124.1 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.1483, allocations: 43.59 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.1484, allocations: 37.7 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1486, allocations: 326.8 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.1493, allocations: 167.8 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.15, allocations: 175.7 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1514, allocations: 359.9 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1514, allocations: 0 / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001604/0.153, allocations: 454.6 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.1531, allocations: 63.41 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1531, allocations: 4 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1531, allocations: 0 / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.1536, allocations: 75.77 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1536, allocations: 4 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.154, allocations: 63.91 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.1541, allocations: 8 kB / 489.2 MB, free: 11.82 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.0001613/0.1542, allocations: 133.8 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1543, allocations: 19.72 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.1559, allocations: 414.7 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1559, allocations: 3.938 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1559, allocations: 4 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1559, allocations: 3.938 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.1579, allocations: 0.7018 MB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1579, allocations: 4.047 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.1583, allocations: 75.78 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1583, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1583, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1583, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1583, allocations: 11.92 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1599, allocations: 475 kB / 491 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.16, allocations: 96.84 kB / 491.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.16, allocations: 4 kB / 491.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.1604, allocations: 67.91 kB / 491.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.1606, allocations: 43.94 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1606, allocations: 11.92 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.1608, allocations: 185.8 kB / 491.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1608, allocations: 0 / 491.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.1612, allocations: 43.91 kB / 491.5 MB, free: 9.457 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.003256/0.1644, allocations: 1.309 MB / 492.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.1661, allocations: 478.3 kB / 493.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1661, allocations: 0 / 493.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.1669, allocations: 187.7 kB / 493.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1673, allocations: 35.59 kB / 493.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.1736, allocations: 2.807 MB / 496.3 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.174, allocations: 0.728 MB / 497 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.1741, allocations: 17.42 kB / 497 MB, free: 3.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1743, allocations: 59.41 kB / 497.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1743, allocations: 0 / 497.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.2017, allocations: 5.688 MB / 0.491 GB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.324, allocations: 7.641 kB / 0.491 GB, free: 14.21 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)