Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002006/0.002006, 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.002458/0.002458, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2244/0.2244, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002239/0.00224, allocations: 88.72 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1077, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003333/0.1111, allocations: 1.646 MB / 481.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.112, allocations: 0.6841 MB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.1121, allocations: 0 / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.1123, allocations: 31.77 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1125, allocations: 31.91 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.1125, allocations: 11.88 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.1127, allocations: 39.89 kB / 482.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.1127, allocations: 0 / 482.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.1127, allocations: 7.938 kB / 482.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.1128, allocations: 15.92 kB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1128, allocations: 4 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.869e-05/0.1129, allocations: 11.98 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.1129, allocations: 15.94 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.113, allocations: 19.88 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1131, allocations: 79.94 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1131, allocations: 0 / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1131, allocations: 4 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1131, allocations: 0 / 482.8 MB, free: 2.539 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003854/0.1135, allocations: 355.4 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1136, allocations: 15.97 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.1136, allocations: 34.75 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1137, allocations: 12.75 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1138, allocations: 172.3 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.1138, allocations: 384 / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1138, allocations: 4.375 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.114, allocations: 133.4 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1141, allocations: 3.938 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1141, allocations: 0 / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.1141, allocations: 23.98 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.1142, allocations: 47.84 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.1149, allocations: 0.8906 MB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.115, allocations: 169.1 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.1151, allocations: 84.08 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1151, allocations: 75.28 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.1152, allocations: 105.8 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1152, allocations: 4 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.435e-05/0.1153, allocations: 41.64 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.1153, allocations: 134.7 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1155, allocations: 190 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1156, allocations: 25.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1157, allocations: 151.1 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.1157, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.1158, allocations: 45.61 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1159, allocations: 322.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.1159, allocations: 27.98 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1161, allocations: 165 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.1163, allocations: 208.9 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1163, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003128/0.1166, allocations: 201 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1167, allocations: 8 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1167, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1167, allocations: 8.625 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1168, allocations: 35.92 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1169, allocations: 8 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.949e-05/0.1169, allocations: 27.69 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.117, allocations: 15.98 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001276/0.1171, allocations: 213 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.1172, allocations: 120.8 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.1173, allocations: 108.9 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-05/0.1173, allocations: 184.3 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.296e-05/0.1174, allocations: 184.2 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.1175, allocations: 180.2 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1178, allocations: 425.1 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.1178, allocations: 105 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1179, allocations: 105 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.069e-05/0.1179, allocations: 184.2 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/0.118, allocations: 176.3 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.121e-05/0.1181, allocations: 184.2 kB / 488.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.43e-05/0.1182, allocations: 184.3 kB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.1183, allocations: 315.6 kB / 489.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.1184, allocations: 186 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.1185, allocations: 188.2 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.1186, allocations: 109 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.1187, allocations: 184.2 kB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.1188, allocations: 101 kB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.1189, allocations: 131.2 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1189, allocations: 3.938 kB / 490 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1192, allocations: 16 kB / 490 MB, free: 10.71 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 (0): * Single equations (assignments): 0 * 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.0009599/0.1202, allocations: 0.9151 MB / 490.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1203, allocations: 75.78 kB / 491 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1203, allocations: 0 / 491 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1204, allocations: 0 / 491 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1207, allocations: 464.9 kB / 491.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1224, allocations: 1.874 MB / 493.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1227, allocations: 0.7006 MB / 494 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.1229, allocations: 49.02 kB / 494.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.123, allocations: 27.42 kB / 494.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.123, allocations: 4 kB / 494.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.1468, allocations: 2.046 MB / 496.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.063, allocations: 16.47 kB / 496.2 MB, free: 4.438 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17_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_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1)