Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, 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.001382/0.001382, 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.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2242/0.2242, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.00228/0.002281, allocations: 77.27 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1193, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003686/0.123, allocations: 1.684 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1241, allocations: 0.5572 MB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.1242, allocations: 4 kB / 482.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.1249, allocations: 451.1 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.1254, allocations: 291.3 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1258, allocations: 134.1 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1261, allocations: 171.6 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1262, allocations: 15.98 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1264, allocations: 115.7 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1267, allocations: 219.5 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1267, allocations: 4 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1268, allocations: 47.98 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.127, allocations: 87.67 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1271, allocations: 103 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1274, allocations: 279.1 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1274, allocations: 0 / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1274, allocations: 0 / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1275, allocations: 4 kB / 484.3 MB, free: 0.9648 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.0008677/0.1283, allocations: 0.6492 MB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1284, allocations: 12.03 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1284, allocations: 38.69 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.1285, allocations: 44.38 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1289, allocations: 304.1 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1289, allocations: 384 / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1289, allocations: 8.375 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1291, allocations: 57.62 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1291, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1292, allocations: 7.938 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1292, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1293, allocations: 27.97 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1299, allocations: 404.6 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.13, allocations: 46.59 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.1301, allocations: 24.88 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1301, allocations: 0 / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1301, allocations: 34.55 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1302, allocations: 4 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001022/0.1312, allocations: 311.7 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1312, allocations: 59.33 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.1322, allocations: 0.8738 MB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1323, allocations: 25.7 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.1325, allocations: 220.1 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.1325, allocations: 35.48 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.1326, allocations: 25.72 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1328, allocations: 362.8 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.1329, allocations: 19.98 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.133, allocations: 27.98 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1331, allocations: 60.83 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1331, allocations: 0 / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000243/0.1334, allocations: 141.1 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1334, allocations: 6.656 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1334, allocations: 0 / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1334, allocations: 0 / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1336, allocations: 27.86 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1336, allocations: 320 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.1336, allocations: 4 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1336, allocations: 0 / 488.1 MB, free: 12.91 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 (8): * Single equations (assignments): 8 * 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.000201/0.1339, allocations: 217.8 kB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.1339, allocations: 43.44 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.1343, allocations: 169.5 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1343, allocations: 7.875 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1343, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1343, allocations: 4 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.135, allocations: 0.5031 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.135, allocations: 0 / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.1351, allocations: 15.98 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1351, allocations: 4 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1351, allocations: 4 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1351, allocations: 3.938 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1351, allocations: 4.031 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1354, allocations: 239.7 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.1355, allocations: 116.5 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1356, allocations: 4 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.1357, allocations: 7.938 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1357, allocations: 11.98 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1357, allocations: 4 kB / 489.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007307/0.1365, allocations: 0.6589 MB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1365, allocations: 0 / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1368, allocations: 28 kB / 490.2 MB, free: 10.77 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 (8): * Single equations (assignments): 8 * 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.002223/0.139, allocations: 1.11 MB / 491.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1393, allocations: 75.92 kB / 491.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1393, allocations: 4 kB / 491.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.1394, allocations: 35.92 kB / 491.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.1398, allocations: 39.41 kB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.1438, allocations: 3.355 MB / 494.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.1443, allocations: 0.8299 MB / 495.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.1443, allocations: 12.44 kB / 495.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.1445, allocations: 111.4 kB / 495.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1445, allocations: 0 / 495.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.1743, allocations: 6.233 MB / 0.4902 GB, free: 15.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.173/8.348, allocations: 15.41 kB / 0.4902 GB, free: 15.03 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_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_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1)