Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2252/0.2252, 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.002358/0.002358, allocations: 81.88 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1135, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003735/0.1173, allocations: 2.047 MB / 482.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1194, allocations: 1.122 MB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1195, allocations: 7.938 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1201, allocations: 267.1 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.1206, allocations: 259.1 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.1221, allocations: 0.6499 MB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.1226, allocations: 343.2 kB / 484.9 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1228, allocations: 80.98 kB / 485 MB, free: 388 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.123, allocations: 139.4 kB / 485.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1233, allocations: 219.2 kB / 485.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.1233, allocations: 12 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.1236, allocations: 75.97 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1237, allocations: 95.67 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1239, allocations: 130.9 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.1243, allocations: 346.7 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1244, allocations: 0 / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1244, allocations: 0 / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1244, allocations: 0 / 486 MB, free: 15.38 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.0008492/0.1252, allocations: 0.6922 MB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1253, allocations: 8.031 kB / 486.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.6e-05/0.1254, allocations: 42.73 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.1255, allocations: 44.38 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.1259, allocations: 349.9 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1259, allocations: 12.38 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.126, allocations: 16.36 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.1262, allocations: 121.6 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1263, allocations: 4 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1263, allocations: 4 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1263, allocations: 7.938 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.1265, allocations: 91.86 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.1273, allocations: 0.5275 MB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1275, allocations: 106.5 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.1276, allocations: 36.83 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1276, allocations: 7.984 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1277, allocations: 42.5 kB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.1277, allocations: 0 / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001155/0.1288, allocations: 462.2 kB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.1289, allocations: 51.41 kB / 488.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007535/0.1297, allocations: 0.5957 MB / 489.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1297, allocations: 33.7 kB / 489.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.1299, allocations: 220.3 kB / 489.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.13, allocations: 59.19 kB / 489.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.1301, allocations: 33.7 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1303, allocations: 354.8 kB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1304, allocations: 63.97 kB / 489.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1306, allocations: 67.95 kB / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.1309, allocations: 164.6 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1309, allocations: 0 / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004327/0.1314, allocations: 231.3 kB / 490.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1314, allocations: 8 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1314, allocations: 0 / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1314, allocations: 0 / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1316, allocations: 35.98 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1316, allocations: 0 / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.1317, allocations: 15.97 kB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1317, allocations: 12 kB / 490.4 MB, free: 10.68 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.0002075/0.1319, allocations: 189.6 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.132, allocations: 43.44 kB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006/0.1326, allocations: 277.7 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1327, allocations: 8 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1327, allocations: 0 / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1327, allocations: 0 / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1337, allocations: 0.6993 MB / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1337, allocations: 0 / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.1338, allocations: 39.91 kB / 491.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1339, allocations: 4 kB / 491.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1339, allocations: 7.938 kB / 491.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1339, allocations: 3.938 kB / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1339, allocations: 0 / 491.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.1344, allocations: 334.8 kB / 492 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1345, allocations: 116.6 kB / 492.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1346, allocations: 4 kB / 492.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1347, allocations: 15.94 kB / 492.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1347, allocations: 11.92 kB / 492.2 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1348, allocations: 12 kB / 492.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005288/0.1353, allocations: 450.8 kB / 492.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1353, allocations: 0 / 492.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.1356, allocations: 55.89 kB / 492.7 MB, free: 8.328 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.003829/0.1395, allocations: 1.45 MB / 494.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004576/0.14, allocations: 171.8 kB / 494.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.14, allocations: 4 kB / 494.3 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.1402, allocations: 98.06 kB / 494.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.1408, allocations: 81 kB / 494.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.1457, allocations: 3.381 MB / 497.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.1462, allocations: 0.826 MB / 498.7 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.1464, allocations: 66.23 kB / 498.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1466, allocations: 139.4 kB / 498.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1466, allocations: 0 / 498.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.1771, allocations: 7.721 MB / 0.4947 GB, free: 10.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.431, allocations: 13.02 kB / 0.4947 GB, free: 10.64 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_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_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1)