Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 104.1 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.002055/0.002055, 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.581/1.581, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2427/0.2427, allocations: 46.13 MB / 344.2 MB, free: 11.53 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.003742/0.003742, allocations: 86.53 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1557, allocations: 62.44 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004509/0.1603, allocations: 2.113 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1628, allocations: 1.282 MB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.163, allocations: 4 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1633, allocations: 47.52 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000601/0.1639, allocations: 223.1 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1651, allocations: 457.1 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005491/0.1657, allocations: 323 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1659, allocations: 64.98 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.1662, allocations: 147.3 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.1665, allocations: 203.2 kB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1666, allocations: 16 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1668, allocations: 59.98 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.167, allocations: 143.5 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1672, allocations: 190.5 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.1677, allocations: 414.4 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1677, allocations: 0 / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1677, allocations: 3.938 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.1678, allocations: 3.938 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001247/0.169, allocations: 0.8279 MB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1691, allocations: 12.03 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.207e-05/0.1691, allocations: 38.73 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004557/0.1696, allocations: 100 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006916/0.1703, allocations: 496.3 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1703, allocations: 8.375 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.1704, allocations: 15.94 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.1707, allocations: 142.2 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1707, allocations: 4 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1708, allocations: 0 / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.1708, allocations: 4 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.1711, allocations: 111.8 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1721, allocations: 0.6917 MB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.1724, allocations: 125.2 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1726, allocations: 65.73 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.1726, allocations: 3.984 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1727, allocations: 42.5 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1727, allocations: 0 / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002108/0.1748, allocations: 0.681 MB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.1749, allocations: 85.05 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.176, allocations: 0.9182 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.176, allocations: 29.7 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.1763, allocations: 280.2 kB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.1764, allocations: 71.08 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.1765, allocations: 37.7 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1766, allocations: 313.9 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1769, allocations: 91.94 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1772, allocations: 107.9 kB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.1777, allocations: 209.7 kB / 491.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1777, allocations: 0 / 491.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007209/0.1784, allocations: 312.7 kB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1785, allocations: 4 kB / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1785, allocations: 0 / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1785, allocations: 0 / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1788, allocations: 55.95 kB / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1788, allocations: 0 / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.179, allocations: 31.88 kB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1791, allocations: 4 kB / 491.7 MB, free: 9.305 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002436/0.1793, allocations: 217.7 kB / 491.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.1794, allocations: 59.25 kB / 492 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.1803, allocations: 363.3 kB / 492.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1803, allocations: 224 / 492.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.1803, allocations: 4 kB / 492.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1803, allocations: 3.938 kB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.1818, allocations: 0.8956 MB / 493.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1818, allocations: 3.984 kB / 493.2 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.1821, allocations: 63.89 kB / 493.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1821, allocations: 0 / 493.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1821, allocations: 4 kB / 493.3 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1821, allocations: 3.938 kB / 493.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1821, allocations: 0 / 493.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.1829, allocations: 477.9 kB / 493.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.1831, allocations: 164.3 kB / 493.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.1832, allocations: 4 kB / 493.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.1834, allocations: 23.92 kB / 494 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.1835, allocations: 23.91 kB / 494 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1835, allocations: 11.98 kB / 494 MB, free: 6.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008104/0.1843, allocations: 0.6786 MB / 494.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1844, allocations: 0 / 494.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.1847, allocations: 60 kB / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002584/0.1873, allocations: 1.315 MB / 496.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.188, allocations: 235.7 kB / 496.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.188, allocations: 0 / 496.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.1884, allocations: 119.9 kB / 496.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.1891, allocations: 78.94 kB / 496.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.1972, allocations: 5.487 MB / 0.4902 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.1978, allocations: 0.8716 MB / 0.4911 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.198, allocations: 83.2 kB / 0.4911 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.1983, allocations: 195.3 kB / 0.4913 GB, free: 13.78 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1983, allocations: 0 / 0.4913 GB, free: 13.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.2386, allocations: 10.25 MB / 0.5013 GB, free: 3.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.46, allocations: 1.078 kB / 0.5013 GB, free: 3.617 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1)