Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 103.7 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.001346/0.001347, allocations: 212.6 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.505/1.505, 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.2297/0.2297, 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.002246/0.002246, allocations: 79.28 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003182/0.1322, allocations: 1.677 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1333, allocations: 0.5806 MB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.1334, allocations: 0 / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.1341, allocations: 459.1 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005305/0.1346, allocations: 295.3 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1351, allocations: 178.8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1353, allocations: 171.7 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1354, allocations: 24.22 kB / 483.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1356, allocations: 119.6 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1358, allocations: 211.6 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1358, allocations: 4 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.136, allocations: 51.97 kB / 484 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1361, allocations: 83.69 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.1362, allocations: 106.9 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1365, allocations: 271.2 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1365, allocations: 7.938 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1365, allocations: 4 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1365, allocations: 0 / 484.4 MB, free: 0.9219 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.0008194/0.1374, allocations: 0.6569 MB / 485.1 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1374, allocations: 8.031 kB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1375, allocations: 38.73 kB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.1376, allocations: 44.38 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1379, allocations: 300.2 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-06/0.138, allocations: 384 / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.138, allocations: 4.375 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1382, allocations: 73.55 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1382, allocations: 0 / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1382, allocations: 0 / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1382, allocations: 0 / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1383, allocations: 35.97 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1389, allocations: 416.5 kB / 486 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.139, allocations: 54.53 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.1391, allocations: 12.86 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1391, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.1391, allocations: 46.67 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1391, allocations: 3.938 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009639/0.1401, allocations: 327.7 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1402, allocations: 55.34 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.1411, allocations: 0.8737 MB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1412, allocations: 29.7 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1414, allocations: 228.1 kB / 487.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1414, allocations: 27.66 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.1415, allocations: 17.72 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1417, allocations: 366.8 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.1418, allocations: 31.97 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.1419, allocations: 23.98 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1421, allocations: 88.73 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1421, allocations: 4 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.1424, allocations: 141 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1424, allocations: 8 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1424, allocations: 0 / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1424, allocations: 0 / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1425, allocations: 23.92 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1426, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.1426, allocations: 15.98 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1426, allocations: 4 kB / 488.3 MB, free: 12.77 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 (8): * Single equations (assignments): 8 * 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.0002008/0.1429, allocations: 213.8 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1429, allocations: 39.44 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.1433, allocations: 177.4 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1433, allocations: 3.938 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1433, allocations: 3.984 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1433, allocations: 4 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.144, allocations: 0.5191 MB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.144, allocations: 3.984 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.1441, allocations: 16 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1441, allocations: 0 / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1441, allocations: 7.984 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1441, allocations: 4.031 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1441, allocations: 4.078 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.1444, allocations: 255.7 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.799e-05/0.1445, allocations: 112.5 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1446, allocations: 8 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1447, allocations: 4 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.1447, allocations: 7.984 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1447, allocations: 4 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007071/0.1454, allocations: 0.6589 MB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1455, allocations: 3.938 kB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1457, allocations: 32 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002193/0.1479, allocations: 1.13 MB / 491.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.1482, allocations: 79.89 kB / 491.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1482, allocations: 0 / 491.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1483, allocations: 43.91 kB / 491.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1487, allocations: 22.31 kB / 491.7 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.1528, allocations: 3.43 MB / 495.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.1533, allocations: 0.8338 MB / 495.9 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.604e-05/0.1534, allocations: 28.72 kB / 495.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.1535, allocations: 119.4 kB / 496.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1535, allocations: 0 / 496.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1831, allocations: 6.338 MB / 0.4906 GB, free: 14.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.279, allocations: 5.141 kB / 0.4906 GB, free: 14.65 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_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_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1)