Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 103.8 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.001434/0.001433, 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.45/1.45, 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.2278/0.2278, 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.002213/0.002213, allocations: 78.59 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 62.46 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.00352/0.1168, allocations: 1.927 MB / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1186, allocations: 0.9896 MB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.322e-05/0.1187, allocations: 4 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.1192, allocations: 247.2 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.1197, allocations: 263.1 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.1207, allocations: 486.4 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.1211, allocations: 295.2 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1212, allocations: 48.7 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1214, allocations: 131.4 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1216, allocations: 187.4 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1217, allocations: 12 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1218, allocations: 51.92 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1219, allocations: 87.67 kB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1221, allocations: 115 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.1224, allocations: 291.1 kB / 485.3 MB, free: 8 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1224, allocations: 3.938 kB / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1224, allocations: 0 / 485.3 MB, free: 4 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1225, allocations: 0 / 485.3 MB, free: 4 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008114/0.1233, allocations: 0.6571 MB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1233, allocations: 8.031 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1234, allocations: 38.75 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.1234, allocations: 36.47 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.1238, allocations: 334 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.1238, allocations: 4.375 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1239, allocations: 8.375 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1241, allocations: 81.59 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1241, allocations: 3.938 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1241, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1241, allocations: 8 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1243, allocations: 51.97 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.1249, allocations: 456.4 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.125, allocations: 54.56 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.1251, allocations: 28.97 kB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1251, allocations: 4 kB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1251, allocations: 34.56 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.1251, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003385/0.1255, allocations: 133.1 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1255, allocations: 55.34 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.1262, allocations: 0.5955 MB / 487.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1262, allocations: 25.7 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1264, allocations: 204.1 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.1265, allocations: 23.7 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1265, allocations: 21.7 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1267, allocations: 350.8 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.1268, allocations: 19.98 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.1268, allocations: 19.98 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.127, allocations: 48.84 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.127, allocations: 4 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002097/0.1272, allocations: 113.1 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1272, allocations: 4 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1272, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1273, allocations: 3.938 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.1273, allocations: 15.94 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1274, allocations: 3.984 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.1274, allocations: 16.38 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1274, allocations: 4 kB / 488.7 MB, free: 12.35 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 (6): * Single equations (assignments): 6 * 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.0001517/0.1276, allocations: 157.8 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.1277, allocations: 47.44 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.128, allocations: 137.1 kB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.128, allocations: 3.938 kB / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.128, allocations: 0 / 489.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.128, allocations: 3.984 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1283, allocations: 293.5 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1283, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.1284, allocations: 15.98 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1284, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1284, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1284, allocations: 3.938 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1284, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.1287, allocations: 219 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.533e-05/0.1288, allocations: 120.6 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1289, allocations: 0 / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.129, allocations: 11.88 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.129, allocations: 3.984 kB / 489.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.129, allocations: 4 kB / 489.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000498/0.1295, allocations: 443.1 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 0 / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1298, allocations: 39.84 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: 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 (6): * Single equations (assignments): 6 * 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.00274/0.1325, allocations: 1.23 MB / 491.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1327, allocations: 47.98 kB / 491.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1327, allocations: 0 / 491.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.1328, allocations: 31.92 kB / 491.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.1334, allocations: 81.33 kB / 491.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.1369, allocations: 2.865 MB / 494.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.1374, allocations: 0.7983 MB / 495.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.1375, allocations: 49.47 kB / 495.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.1376, allocations: 107.4 kB / 495.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1377, allocations: 0 / 495.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.166, allocations: 6.652 MB / 0.4903 GB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.404, allocations: 18.67 kB / 0.4903 GB, free: 15.08 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1)