Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, 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.001299/0.001299, 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.451/1.451, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2596/0.2596, 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.002235/0.002235, allocations: 82.47 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.142, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.0033/0.1454, allocations: 1.592 MB / 481.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1465, allocations: 0.5416 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.1466, allocations: 3.938 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1468, allocations: 31.78 kB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1471, allocations: 71.69 kB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1475, allocations: 118.7 kB / 482.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1476, allocations: 63.83 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1478, allocations: 12 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.1478, allocations: 23.86 kB / 482.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.461e-05/0.1479, allocations: 23.86 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1479, allocations: 4 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.148, allocations: 35.98 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.1481, allocations: 11.98 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.1481, allocations: 23.81 kB / 482.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1483, allocations: 87.98 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1483, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1483, allocations: 4 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1484, allocations: 0 / 482.8 MB, free: 2.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005413/0.1489, allocations: 383.1 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1489, allocations: 12.03 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.149, allocations: 38.75 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.149, allocations: 8.844 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1493, allocations: 190.2 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1493, allocations: 384 / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1493, allocations: 4.375 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1495, allocations: 49.62 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1495, allocations: 0 / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1495, allocations: 4 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1495, allocations: 0 / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1496, allocations: 27.91 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.1501, allocations: 284.8 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1503, allocations: 50.48 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.1504, allocations: 16.86 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1504, allocations: 15.94 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1505, allocations: 34.56 kB / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1505, allocations: 0 / 483.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006135/0.1511, allocations: 157.2 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1511, allocations: 51.41 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1513, allocations: 164.8 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1513, allocations: 29.7 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.1514, allocations: 96.14 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1514, allocations: 19.73 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.1515, allocations: 17.72 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1516, allocations: 322.8 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/0.1517, allocations: 19.98 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.1518, allocations: 19.98 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.152, allocations: 52.83 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.152, allocations: 0 / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002103/0.1522, allocations: 93.5 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1522, allocations: 4 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1522, allocations: 0.5312 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1522, allocations: 0 / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.1523, allocations: 19.98 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1523, allocations: 3.938 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.1524, allocations: 8 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.1524, allocations: 0 / 485 MB, free: 120 kB / 350.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.0001187/0.1525, allocations: 121.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1525, allocations: 11.89 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.1528, allocations: 101.9 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1528, allocations: 0 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1528, allocations: 7.938 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1528, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.1533, allocations: 346.6 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1533, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1534, allocations: 11.98 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.1534, allocations: 3.938 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1534, allocations: 11.88 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1534, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1535, allocations: 8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1537, allocations: 179.3 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1538, allocations: 81.11 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1538, allocations: 3.938 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.1539, allocations: 7.984 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1539, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1539, allocations: 8.188 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.154, allocations: 130.8 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1541, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1543, allocations: 19.91 kB / 486 MB, free: 14.97 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.002052/0.1564, allocations: 1.021 MB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1566, allocations: 55.95 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1566, allocations: 0 / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.1567, allocations: 27.92 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1571, allocations: 15.98 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.159, allocations: 1.484 MB / 488.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.1595, allocations: 0.6963 MB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.1596, allocations: 16.06 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.1597, allocations: 31.42 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.514e-06/0.1597, allocations: 0 / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1868, allocations: 2.55 MB / 491.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/7.996, allocations: 7.875 kB / 491.9 MB, free: 9.148 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1)