Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, 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.001414/0.001414, 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.424/1.424, 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.2245/0.2245, allocations: 46.12 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.002272/0.002272, allocations: 76.98 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003567/0.1246, allocations: 1.682 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1257, allocations: 0.561 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.1258, allocations: 0 / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.1265, allocations: 451.1 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.127, allocations: 299.2 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1274, allocations: 139 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1276, allocations: 179.7 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1278, allocations: 16.23 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1279, allocations: 123.6 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1281, allocations: 211.6 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1282, allocations: 4 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1283, allocations: 51.97 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1284, allocations: 87.69 kB / 484 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.1285, allocations: 106.9 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1289, allocations: 275.2 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1289, allocations: 4 kB / 484.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1289, allocations: 7.938 kB / 484.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1289, allocations: 0 / 484.4 MB, free: 0.9766 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007889/0.1297, allocations: 0.6647 MB / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1297, allocations: 12.02 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.1298, allocations: 34.75 kB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.1299, allocations: 44.38 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1302, allocations: 296.2 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1302, allocations: 384 / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1302, allocations: 8.375 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.1305, allocations: 73.53 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1305, allocations: 0 / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1305, allocations: 4 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1305, allocations: 0 / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1307, allocations: 35.97 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.1312, allocations: 412.5 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.1315, allocations: 58.55 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.1315, allocations: 28.95 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1316, allocations: 0 / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1316, allocations: 30.56 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.1316, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001524/0.1331, allocations: 479.9 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1332, allocations: 55.34 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.1341, allocations: 0.8698 MB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1341, allocations: 29.7 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1343, allocations: 212.1 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.1344, allocations: 39.45 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.1344, allocations: 29.7 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1346, allocations: 358.8 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1348, allocations: 44.16 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1349, allocations: 43.95 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1352, allocations: 104.8 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1352, allocations: 0 / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003623/0.1356, allocations: 176.9 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1356, allocations: 8 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1356, allocations: 0 / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1356, allocations: 3.938 kB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1357, allocations: 27.92 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1358, allocations: 4 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/0.1359, allocations: 15.98 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1359, allocations: 4 kB / 488.5 MB, free: 12.58 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 (11): * Single equations (assignments): 11 * 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.0002015/0.1361, allocations: 217.7 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.1361, allocations: 43.44 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.1366, allocations: 209.4 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1366, allocations: 3.938 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1366, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1366, allocations: 0 / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008893/0.1375, allocations: 0.5779 MB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1375, allocations: 0 / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1377, allocations: 27.98 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1377, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1377, allocations: 4 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1377, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1377, allocations: 3.938 kB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.1381, allocations: 285.2 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.1382, allocations: 116.5 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1383, allocations: 7.938 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1384, allocations: 11.98 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1384, allocations: 4 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1385, allocations: 8 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00066/0.1391, allocations: 0.6628 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1391, allocations: 0 / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1394, allocations: 35.98 kB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002278/0.1417, allocations: 1.176 MB / 491.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1421, allocations: 103.9 kB / 492 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1421, allocations: 0 / 492 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1422, allocations: 63.89 kB / 492 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.1427, allocations: 27.92 kB / 492.1 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.1473, allocations: 3.489 MB / 495.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.1478, allocations: 0.8299 MB / 496.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.279e-05/0.1479, allocations: 16.55 kB / 496.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.1481, allocations: 111.4 kB / 496.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1481, allocations: 0 / 496.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.1784, allocations: 6.421 MB / 0.4912 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.286, allocations: 5.016 kB / 0.4912 GB, free: 14.11 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1)