Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, 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.00154/0.00154, allocations: 210.4 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.512/1.512, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2342/0.2342, allocations: 46.12 MB / 344.2 MB, free: 11.61 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.002215/0.002215, allocations: 76.64 kB / 417.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1441, allocations: 62.45 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.004468/0.1486, allocations: 1.676 MB / 481.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.15, allocations: 0.5571 MB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.1501, allocations: 8 kB / 482.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.1506, allocations: 59.73 kB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.151, allocations: 91.64 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1514, allocations: 138.1 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1517, allocations: 83.81 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1518, allocations: 12.23 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.1519, allocations: 35.84 kB / 482.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.152, allocations: 47.77 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1521, allocations: 4 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1522, allocations: 47.98 kB / 483 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.1523, allocations: 31.91 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.1523, allocations: 35.73 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1526, allocations: 119.9 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1526, allocations: 0 / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1526, allocations: 0 / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1526, allocations: 0 / 483.1 MB, free: 2.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006161/0.1532, allocations: 415 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1533, allocations: 12.03 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.1533, allocations: 38.67 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1534, allocations: 16.69 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1536, allocations: 208.1 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1537, allocations: 384 / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1537, allocations: 4.375 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1539, allocations: 65.61 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1539, allocations: 0 / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1539, allocations: 7.938 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1539, allocations: 0 / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1541, allocations: 39.95 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.1546, allocations: 312.7 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1549, allocations: 58.58 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.155, allocations: 24.97 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.155, allocations: 4 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.1551, allocations: 34.56 kB / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1551, allocations: 0 / 484.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001564/0.1567, allocations: 393.2 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.1568, allocations: 67.28 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.157, allocations: 191.3 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.157, allocations: 33.7 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.1571, allocations: 100.1 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.1572, allocations: 39.61 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1572, allocations: 25.72 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1574, allocations: 322.8 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1575, allocations: 43.97 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.1576, allocations: 52 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.1579, allocations: 96.81 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1579, allocations: 64 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003262/0.1582, allocations: 149.4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1583, allocations: 7.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.1583, allocations: 7.922 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1583, allocations: 7.938 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1584, allocations: 23.98 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1584, allocations: 0 / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.1585, allocations: 7.984 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1585, allocations: 8 kB / 485.9 MB, free: 15.23 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 (11): * Single equations (assignments): 11 * 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 0.0001098/0.1587, allocations: 125.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1587, allocations: 19.84 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.1591, allocations: 166.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1592, allocations: 3.938 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1592, allocations: 0 / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1592, allocations: 4 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007336/0.1599, allocations: 479.9 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1599, allocations: 0 / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1601, allocations: 23.98 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1601, allocations: 4.062 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1601, allocations: 7.984 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1601, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1601, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.1605, allocations: 257 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.1606, allocations: 92.86 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1606, allocations: 4 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1607, allocations: 11.98 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.1608, allocations: 7.984 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1608, allocations: 8 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1609, allocations: 147.9 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1609, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1612, allocations: 28 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002451/0.1637, allocations: 1.132 MB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1641, allocations: 115.9 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1641, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1642, allocations: 59.91 kB / 488.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1647, allocations: 25.95 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.1674, allocations: 1.797 MB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1678, allocations: 0.7119 MB / 491.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.1679, allocations: 16.5 kB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.1679, allocations: 35.42 kB / 491.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.168, allocations: 0 / 491.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.1955, allocations: 3.321 MB / 494.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/8.382, allocations: 8.562 kB / 494.5 MB, free: 6.633 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1)