Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, 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.00141/0.00141, 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.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2303/0.2303, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.00225/0.00225, allocations: 79.38 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1172, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003234/0.1205, allocations: 1.651 MB / 481.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1216, allocations: 0.5533 MB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.1217, allocations: 0 / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1223, allocations: 447.2 kB / 482.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.1228, allocations: 295.2 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.1232, allocations: 134 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1234, allocations: 167.6 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1236, allocations: 19.97 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1237, allocations: 107.7 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.124, allocations: 207.6 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.124, allocations: 8 kB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1241, allocations: 39.98 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1242, allocations: 79.69 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1243, allocations: 102.9 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1247, allocations: 267.2 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1247, allocations: 0 / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1247, allocations: 0 / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1247, allocations: 0 / 484.3 MB, free: 1.074 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.0007974/0.1255, allocations: 0.6375 MB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1256, allocations: 12.03 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.1256, allocations: 34.75 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.1257, allocations: 44.38 kB / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.126, allocations: 304.1 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1261, allocations: 4.375 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1261, allocations: 4.375 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1262, allocations: 53.56 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1263, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1263, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1263, allocations: 0 / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1264, allocations: 31.97 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.1269, allocations: 392.6 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.1272, allocations: 54.44 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.1272, allocations: 16.94 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1273, allocations: 4 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1273, allocations: 30.56 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1273, allocations: 0 / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006727/0.128, allocations: 228 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.128, allocations: 55.39 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009462/0.129, allocations: 0.8776 MB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.129, allocations: 29.7 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1292, allocations: 228 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1293, allocations: 15.73 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.1293, allocations: 17.72 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1295, allocations: 362.8 kB / 487.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1296, allocations: 15.98 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.1297, allocations: 19.98 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1298, allocations: 52.77 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1298, allocations: 0 / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000235/0.1301, allocations: 117.1 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1301, allocations: 4 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1301, allocations: 3.938 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1301, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.1302, allocations: 16 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1302, allocations: 3.984 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.1303, allocations: 12.19 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1303, allocations: 4 kB / 487.9 MB, free: 13.19 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 (5): * Single equations (assignments): 5 * 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.0002214/0.1306, allocations: 213.7 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.1306, allocations: 43.53 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.131, allocations: 137.2 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.131, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.131, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.131, allocations: 7.922 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.1316, allocations: 462.3 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1316, allocations: 4 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.1317, allocations: 11.98 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1317, allocations: 0 / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1317, allocations: 11.88 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1317, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.1317, allocations: 4 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.132, allocations: 211.1 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1321, allocations: 108.5 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1322, allocations: 7.938 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.1323, allocations: 11.98 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1323, allocations: 7.938 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1323, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00067/0.133, allocations: 0.6589 MB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.133, allocations: 0 / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1333, allocations: 28 kB / 489.8 MB, free: 11.18 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 (5): * Single equations (assignments): 5 * 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.001969/0.1353, allocations: 1.042 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1356, allocations: 47.91 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1356, allocations: 0 / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.99e-05/0.1357, allocations: 23.98 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1361, allocations: 28.53 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.141, allocations: 3.276 MB / 494.2 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.1416, allocations: 0.8259 MB / 495 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.446e-05/0.1417, allocations: 12.25 kB / 495 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.1419, allocations: 103.5 kB / 495.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1419, allocations: 3.938 kB / 495.2 MB, free: 5.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.174, allocations: 5.93 MB / 0.4893 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.315, allocations: 3.891 kB / 0.4893 GB, free: 15.95 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_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_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1)