Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, 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.001593/0.001593, 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.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2316/0.2316, 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.002234/0.002234, allocations: 86.69 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 62.44 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003716/0.1188, allocations: 2.052 MB / 482.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.1209, allocations: 1.118 MB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.121, allocations: 3.938 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.1215, allocations: 267.1 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.122, allocations: 259.1 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.1235, allocations: 0.6578 MB / 484.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.124, allocations: 347.1 kB / 484.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.1242, allocations: 76.98 kB / 485 MB, free: 404 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1243, allocations: 139.5 kB / 485.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1246, allocations: 215.2 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1246, allocations: 15.94 kB / 485.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.1248, allocations: 99.95 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.125, allocations: 107.6 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1251, allocations: 130.9 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.1256, allocations: 354.7 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1256, allocations: 4 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1256, allocations: 0 / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1256, allocations: 0 / 486 MB, free: 15.35 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000829/0.1264, allocations: 0.6922 MB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1265, allocations: 12.03 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.1265, allocations: 42.75 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.447e-05/0.1266, allocations: 48.31 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.127, allocations: 346 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.127, allocations: 16.38 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1271, allocations: 8.375 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.1273, allocations: 129.5 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1273, allocations: 3.984 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1274, allocations: 8 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1274, allocations: 4 kB / 487.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1276, allocations: 95.81 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.1283, allocations: 0.5159 MB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1285, allocations: 110.5 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.1286, allocations: 36.84 kB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1286, allocations: 11.97 kB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1287, allocations: 38.44 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1287, allocations: 0 / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001006/0.1297, allocations: 455.7 kB / 488.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1297, allocations: 55.41 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.1304, allocations: 0.5918 MB / 489.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1305, allocations: 33.7 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1306, allocations: 212.3 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.1307, allocations: 59.19 kB / 489.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.1308, allocations: 33.7 kB / 489.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1309, allocations: 362.8 kB / 489.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1311, allocations: 63.95 kB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1312, allocations: 70.61 kB / 490 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1315, allocations: 156.6 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1315, allocations: 3.938 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004339/0.132, allocations: 235.3 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.132, allocations: 8 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.132, allocations: 4 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.132, allocations: 0 / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1322, allocations: 35.97 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1322, allocations: 3.984 kB / 490.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.1323, allocations: 8 kB / 490.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1323, allocations: 4 kB / 490.5 MB, free: 10.65 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 (17): * Single equations (assignments): 17 * 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.0001737/0.1325, allocations: 193.5 kB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.1326, allocations: 47.44 kB / 490.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.1331, allocations: 285.7 kB / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1331, allocations: 0 / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1331, allocations: 4 kB / 491 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1332, allocations: 7.922 kB / 491 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.1341, allocations: 0.6953 MB / 491.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1341, allocations: 4 kB / 491.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1342, allocations: 27.98 kB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1342, allocations: 0 / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1342, allocations: 8 kB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1342, allocations: 3.938 kB / 491.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1342, allocations: 3.984 kB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.1347, allocations: 334.8 kB / 492.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.1348, allocations: 120.6 kB / 492.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1348, allocations: 0 / 492.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.135, allocations: 19.92 kB / 492.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.135, allocations: 7.984 kB / 492.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.135, allocations: 4 kB / 492.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004774/0.1355, allocations: 454.8 kB / 492.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1355, allocations: 4 kB / 492.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.1359, allocations: 51.91 kB / 492.7 MB, free: 8.301 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 (17): * Single equations (assignments): 17 * 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.003308/0.1392, allocations: 1.458 MB / 494.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1396, allocations: 183.7 kB / 494.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1396, allocations: 0 / 494.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1398, allocations: 94.23 kB / 494.4 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.1403, allocations: 84.56 kB / 494.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.1446, allocations: 3.374 MB / 497.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.1451, allocations: 0.8338 MB / 498.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.1452, allocations: 58.23 kB / 498.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.1454, allocations: 135.4 kB / 498.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1454, allocations: 0 / 498.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.175, allocations: 7.739 MB / 0.4948 GB, free: 10.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.491, allocations: 8.953 kB / 0.4948 GB, free: 10.59 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_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_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1)