Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001403/0.001403, 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.00153/0.00153, 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.471/1.471, 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.2377/0.2377, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002456/0.002456, allocations: 72.97 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1075, allocations: 62.46 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003057/0.1106, allocations: 1.649 MB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1124, allocations: 1.191 MB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.1124, allocations: 4 kB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.1126, allocations: 23.86 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.1129, allocations: 83.61 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1132, allocations: 130.1 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1134, allocations: 75.78 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.1135, allocations: 16 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.1135, allocations: 23.91 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1137, allocations: 43.77 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1137, allocations: 8 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1139, allocations: 95.89 kB / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.114, allocations: 15.97 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.114, allocations: 27.8 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1143, allocations: 155.9 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1143, allocations: 4 kB / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1143, allocations: 0 / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1143, allocations: 0 / 483.8 MB, free: 1.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005609/0.1149, allocations: 419.1 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1149, allocations: 15.91 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.1149, allocations: 34.75 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.115, allocations: 8.844 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.1152, allocations: 200.1 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-06/0.1152, allocations: 384 / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1153, allocations: 8.375 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1154, allocations: 83.25 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1155, allocations: 0 / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1155, allocations: 4 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1155, allocations: 0 / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1156, allocations: 31.97 kB / 484.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.116, allocations: 296.8 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1161, allocations: 42.5 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.1162, allocations: 24.94 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1162, allocations: 0 / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1163, allocations: 42.55 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1163, allocations: 0 / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000791/0.1171, allocations: 209.1 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.1172, allocations: 85.11 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1173, allocations: 160.1 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1174, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.1174, allocations: 92.22 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1175, allocations: 27.69 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1175, allocations: 21.72 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1176, allocations: 318.8 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1178, allocations: 35.97 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1179, allocations: 45.69 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.1181, allocations: 72.75 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1181, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002969/0.1184, allocations: 113.6 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1185, allocations: 10.66 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1185, allocations: 3.984 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1185, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1186, allocations: 19.98 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1186, allocations: 0 / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.1187, allocations: 15.86 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1187, allocations: 7.938 kB / 486.2 MB, free: 14.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 (7): * Single equations (assignments): 7 * 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 9.191e-05/0.1188, allocations: 125.8 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.1189, allocations: 7.906 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.1192, allocations: 130.6 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1192, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1193, allocations: 3.984 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1193, allocations: 11.88 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.1198, allocations: 398.3 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1199, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.1199, allocations: 23.98 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.12, allocations: 0 / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.12, allocations: 7.922 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.12, allocations: 4 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.12, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1203, allocations: 203.4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1204, allocations: 96.94 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1204, allocations: 3.938 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1206, allocations: 11.98 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1206, allocations: 8 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1206, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1207, allocations: 117.5 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1207, allocations: 0 / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.121, allocations: 39.98 kB / 487.3 MB, free: 13.63 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 (7): * Single equations (assignments): 7 * 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.002252/0.1233, allocations: 1.127 MB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.1236, allocations: 83.88 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1236, allocations: 0 / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1238, allocations: 47.91 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1241, allocations: 15.98 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1262, allocations: 1.578 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1265, allocations: 0.6963 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.223e-05/0.1266, allocations: 16.97 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.1267, allocations: 39.44 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1267, allocations: 0 / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.1538, allocations: 3.426 MB / 494.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.235, allocations: 9.141 kB / 494.4 MB, free: 6.695 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32_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_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1)