Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001939/0.001939, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2332/0.2332, allocations: 46.11 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.002327/0.002327, allocations: 75.31 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1434, allocations: 62.46 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003352/0.1468, allocations: 1.652 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1487, allocations: 1.202 MB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.1488, allocations: 0 / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1491, allocations: 31.83 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1494, allocations: 83.56 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1499, allocations: 174.4 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1501, allocations: 75.83 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1502, allocations: 16 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.1503, allocations: 43.78 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1505, allocations: 35.83 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1505, allocations: 4 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1507, allocations: 95.95 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1508, allocations: 27.84 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1508, allocations: 31.8 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1511, allocations: 151.9 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1511, allocations: 0 / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1511, allocations: 0 / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1511, allocations: 0 / 483.8 MB, free: 1.488 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006233/0.1518, allocations: 415.1 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1518, allocations: 12.03 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1519, allocations: 38.69 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.1519, allocations: 12.83 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1522, allocations: 202.1 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1522, allocations: 4.375 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1522, allocations: 4.375 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1524, allocations: 87.3 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1525, allocations: 0 / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1525, allocations: 0 / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.1525, allocations: 0 / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1526, allocations: 39.97 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.1531, allocations: 312.7 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1533, allocations: 50.55 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.1534, allocations: 24.94 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1534, allocations: 0 / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1535, allocations: 34.56 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1535, allocations: 0 / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009113/0.1544, allocations: 241.1 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1545, allocations: 81.05 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1547, allocations: 159.9 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1547, allocations: 33.7 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.1548, allocations: 100.1 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.1548, allocations: 19.7 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.1549, allocations: 21.72 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1551, allocations: 322.8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1552, allocations: 35.97 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1554, allocations: 61.73 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.1556, allocations: 84.8 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1556, allocations: 0 / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003154/0.1559, allocations: 121.5 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.156, allocations: 11.94 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.156, allocations: 8.031 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.156, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1561, allocations: 19.98 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1561, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.1562, allocations: 23.77 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1563, allocations: 0 / 486.3 MB, free: 14.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.982e-05/0.1564, allocations: 113.8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.1564, allocations: 11.91 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.1568, allocations: 150.2 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1568, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1568, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1568, allocations: 3.938 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.1575, allocations: 418.4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1575, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.1576, allocations: 19.97 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1576, allocations: 3.938 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1576, allocations: 11.94 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1576, allocations: 0 / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1576, allocations: 0 / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.158, allocations: 219.8 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.1581, allocations: 89 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1581, allocations: 3.938 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1582, allocations: 15.92 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1583, allocations: 4 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1583, allocations: 4 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1584, allocations: 119.2 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1584, allocations: 0 / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1587, allocations: 43.98 kB / 487.6 MB, free: 13.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.002278/0.161, allocations: 1.152 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.1613, allocations: 91.88 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1613, allocations: 0 / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1615, allocations: 51.94 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1619, allocations: 22.98 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.1641, allocations: 1.647 MB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1645, allocations: 0.7002 MB / 491.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.636e-05/0.1646, allocations: 20.42 kB / 491.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.1646, allocations: 35.41 kB / 491.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1647, allocations: 8 kB / 491.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1905, allocations: 3.51 MB / 494.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.15, allocations: 10.38 kB / 494.8 MB, free: 6.27 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1)