Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, 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.001362/0.001362, 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.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2415/0.2415, 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.002494/0.002494, allocations: 79.61 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1391, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003604/0.1428, allocations: 1.648 MB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.1441, allocations: 0.5767 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.1442, allocations: 4 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.1449, allocations: 451.1 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000587/0.1455, allocations: 295.3 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.1461, allocations: 178.4 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.1464, allocations: 179.6 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1465, allocations: 12 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.1468, allocations: 111.8 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1471, allocations: 215.6 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1471, allocations: 0 / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1472, allocations: 31.98 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1474, allocations: 87.62 kB / 484 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1475, allocations: 107 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.1479, allocations: 263.2 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1479, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1479, allocations: 3.938 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.148, allocations: 4 kB / 484.3 MB, free: 0.9883 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.000957/0.1489, allocations: 0.6414 MB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.149, allocations: 12.03 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.149, allocations: 34.75 kB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.629e-05/0.1491, allocations: 48.31 kB / 485.1 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.1495, allocations: 304.1 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1496, allocations: 4.359 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1496, allocations: 8.375 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1498, allocations: 57.61 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1498, allocations: 0 / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1498, allocations: 4 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1498, allocations: 4 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.15, allocations: 23.98 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.1506, allocations: 408.5 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1508, allocations: 46.56 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.1509, allocations: 20.94 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1509, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.151, allocations: 34.5 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.151, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007519/0.1518, allocations: 240 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.1518, allocations: 59.34 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.1528, allocations: 0.8776 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1528, allocations: 25.7 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.153, allocations: 224.1 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.153, allocations: 19.75 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.1531, allocations: 13.72 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.1533, allocations: 366.8 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.1534, allocations: 24.05 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.1535, allocations: 23.98 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1536, allocations: 52.81 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1537, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002577/0.1539, allocations: 121.1 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.154, allocations: 15.88 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.154, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.154, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.1541, allocations: 15.98 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1541, allocations: 0 / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.1542, allocations: 11.92 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1542, allocations: 4 kB / 488 MB, free: 13.05 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.0002137/0.1544, allocations: 205.8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.1545, allocations: 43.44 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.1549, allocations: 153.1 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1549, allocations: 7.922 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1549, allocations: 0 / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1549, allocations: 3.938 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.1556, allocations: 466.5 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1556, allocations: 4.312 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.1557, allocations: 15.98 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1557, allocations: 4 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1557, allocations: 3.938 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1557, allocations: 0 / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1557, allocations: 0 / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.156, allocations: 230.9 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.1561, allocations: 108.5 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1562, allocations: 7.938 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.1563, allocations: 4.266 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1563, allocations: 4 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1563, allocations: 4 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007312/0.1571, allocations: 0.6628 MB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1571, allocations: 0 / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1574, allocations: 19.98 kB / 490 MB, free: 11.02 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.002037/0.1594, allocations: 1.057 MB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.1597, allocations: 55.95 kB / 491.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.1597, allocations: 4 kB / 491.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.1598, allocations: 27.92 kB / 491.1 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1602, allocations: 31.53 kB / 491.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.1648, allocations: 3.312 MB / 494.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.1654, allocations: 0.8299 MB / 495.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.114e-05/0.1655, allocations: 16.64 kB / 495.3 MB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1657, allocations: 115.4 kB / 495.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of SimCode: time 1.133e-06/0.1657, allocations: 0 / 495.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.1951, allocations: 5.989 MB / 0.4896 GB, free: 15.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.286, allocations: 8.234 kB / 0.4896 GB, free: 15.64 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1)