Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 103.5 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.001388/0.001388, 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.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2311/0.2311, 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.002324/0.002325, allocations: 77.89 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1116, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003537/0.1152, allocations: 1.678 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1162, allocations: 0.5572 MB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.1163, allocations: 4 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.1169, allocations: 451.1 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.1174, allocations: 291.3 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1178, allocations: 138.5 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.118, allocations: 171.7 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1181, allocations: 12 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1183, allocations: 115.6 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1185, allocations: 215.6 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1186, allocations: 4 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1187, allocations: 47.98 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1188, allocations: 83.69 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.1189, allocations: 107 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.1193, allocations: 279.1 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1193, allocations: 0 / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1193, allocations: 4 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1193, allocations: 4 kB / 484.3 MB, free: 0.9805 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.0008253/0.1202, allocations: 0.653 MB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1202, allocations: 8.031 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.1203, allocations: 38.73 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.1203, allocations: 44.38 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1207, allocations: 300.1 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1207, allocations: 384 / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1207, allocations: 8.375 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1209, allocations: 69.55 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1209, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1209, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1209, allocations: 3.938 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.121, allocations: 23.98 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.1216, allocations: 408.5 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1217, allocations: 46.56 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.1218, allocations: 20.94 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1218, allocations: 7.984 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1218, allocations: 30.56 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1218, allocations: 0 / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001014/0.1229, allocations: 315.8 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1229, allocations: 55.34 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.1238, allocations: 0.8738 MB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1238, allocations: 25.7 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.1241, allocations: 232.1 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1241, allocations: 27.56 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.1242, allocations: 25.7 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1243, allocations: 358.8 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.1244, allocations: 23.98 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.1245, allocations: 31.97 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1247, allocations: 60.83 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1247, allocations: 4 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002529/0.125, allocations: 129 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.125, allocations: 4 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.125, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.125, allocations: 4 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1251, allocations: 23.92 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1251, allocations: 0 / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.1252, allocations: 7.984 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1252, allocations: 8 kB / 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.000193/0.1254, allocations: 209.8 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.1255, allocations: 43.44 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.1258, allocations: 165.8 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1259, allocations: 7.938 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1259, allocations: 0 / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1259, allocations: 4 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.1266, allocations: 0.507 MB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1266, allocations: 0 / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.1267, allocations: 19.98 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1267, allocations: 3.938 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1267, allocations: 4 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1267, allocations: 8.031 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1267, allocations: 0 / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.127, allocations: 243.6 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.1271, allocations: 108.5 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1271, allocations: 8 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.1272, allocations: 11.98 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.1273, allocations: 0 / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.1273, allocations: 7.984 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006703/0.1279, allocations: 0.655 MB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.128, allocations: 0 / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1283, allocations: 35.98 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.00218/0.1304, allocations: 1.117 MB / 491.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1307, allocations: 71.89 kB / 491.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1307, allocations: 3.938 kB / 491.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.1308, allocations: 35.97 kB / 491.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1312, allocations: 34.48 kB / 491.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.1353, allocations: 3.356 MB / 494.8 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1358, allocations: 0.826 MB / 495.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.987e-05/0.1359, allocations: 20.72 kB / 495.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.1361, allocations: 107.4 kB / 495.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1361, allocations: 0 / 495.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.1678, allocations: 6.241 MB / 0.4902 GB, free: 15.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.155, allocations: 17.12 kB / 0.4902 GB, free: 15.04 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_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_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1)