Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, 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.002001/0.002001, 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.53/1.53, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2355/0.2355, allocations: 46.12 MB / 344.2 MB, free: 11.6 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.003468/0.003468, allocations: 76.97 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1196, allocations: 62.45 MB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003495/0.1231, allocations: 1.666 MB / 481.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1252, allocations: 1.202 MB / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.1252, allocations: 0 / 483.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1255, allocations: 31.78 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1258, allocations: 79.62 kB / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.1263, allocations: 179 kB / 483.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1265, allocations: 79.77 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1266, allocations: 23.98 kB / 483.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.1267, allocations: 31.84 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1268, allocations: 35.84 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1269, allocations: 4 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.1271, allocations: 103.9 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.1271, allocations: 23.91 kB / 483.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.1272, allocations: 27.81 kB / 483.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1275, allocations: 151.9 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1275, allocations: 0 / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1275, allocations: 0 / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1275, allocations: 0 / 483.8 MB, free: 1.535 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.0006014/0.1281, allocations: 427 kB / 484.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1282, allocations: 8.031 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1282, allocations: 34.75 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.1283, allocations: 8.844 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.1285, allocations: 198.3 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1285, allocations: 8.375 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.1286, allocations: 384 / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1288, allocations: 83.31 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1288, allocations: 0 / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1288, allocations: 0 / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1288, allocations: 7.938 kB / 484.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.129, allocations: 35.97 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.1294, allocations: 320.8 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1296, allocations: 46.56 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.1297, allocations: 28.88 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.1297, allocations: 0 / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1297, allocations: 34.55 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1297, allocations: 7.938 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008639/0.1306, allocations: 229.2 kB / 485.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1307, allocations: 81.11 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1309, allocations: 163.6 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1309, allocations: 29.7 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1309, allocations: 96.12 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.131, allocations: 23.62 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.131, allocations: 17.72 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1312, allocations: 326.8 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.1313, allocations: 31.97 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1314, allocations: 61.67 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.1317, allocations: 85.03 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1317, allocations: 0 / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003126/0.132, allocations: 137.5 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.132, allocations: 4 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.132, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1321, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1322, allocations: 23.98 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1322, allocations: 0 / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.1323, allocations: 23.77 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-06/0.1323, allocations: 0 / 486.4 MB, free: 14.76 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.953e-05/0.1324, allocations: 125.8 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.1325, allocations: 7.906 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.1328, allocations: 142.2 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1328, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1328, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1329, allocations: 3.938 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.1335, allocations: 422.4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1335, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.1336, allocations: 19.98 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1336, allocations: 0 / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1336, allocations: 3.938 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1336, allocations: 0 / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1336, allocations: 0 / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.134, allocations: 223.4 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.134, allocations: 96.94 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1341, allocations: 3.938 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1342, allocations: 11.98 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1342, allocations: 8 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1342, allocations: 11.92 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1344, allocations: 119.2 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1344, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1347, allocations: 36 kB / 487.6 MB, free: 13.44 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.002197/0.1369, allocations: 1.142 MB / 488.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.1372, allocations: 95.86 kB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1372, allocations: 0 / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1373, allocations: 43.97 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1377, allocations: 25.23 kB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.1399, allocations: 1.651 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.1402, allocations: 0.7002 MB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.1403, allocations: 28.7 kB / 491.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.1404, allocations: 35.42 kB / 491.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1404, allocations: 0 / 491.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.1688, allocations: 3.507 MB / 494.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.192, allocations: 5.141 kB / 494.8 MB, free: 6.324 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_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_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)