Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001296, 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.00153/0.00153, 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.485/1.485, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2353/0.2353, 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.002251/0.002251, allocations: 79.19 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1577, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.005434/0.1632, allocations: 1.608 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1651, allocations: 0.5533 MB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.1652, allocations: 0 / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.1657, allocations: 111.7 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1663, allocations: 119.5 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.1669, allocations: 110.7 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1671, allocations: 87.86 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1673, allocations: 16 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.1674, allocations: 51.77 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1676, allocations: 67.8 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1677, allocations: 4 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.1678, allocations: 43.98 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.059e-05/0.1679, allocations: 23.92 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.168, allocations: 35.67 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1684, allocations: 119.9 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1684, allocations: 0 / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1684, allocations: 4 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1685, allocations: 0 / 483.2 MB, free: 2.168 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.00078/0.1692, allocations: 426.7 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.1693, allocations: 8.031 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.1694, allocations: 42.69 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.1695, allocations: 8.844 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.1698, allocations: 205.6 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1699, allocations: 4.375 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1699, allocations: 384 / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1701, allocations: 73.58 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1702, allocations: 0 / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1702, allocations: 0 / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1702, allocations: 0 / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1704, allocations: 31.91 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.1711, allocations: 312.7 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1713, allocations: 50.5 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1714, allocations: 20.94 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1715, allocations: 0 / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.1715, allocations: 34.56 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1716, allocations: 0 / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001535/0.1731, allocations: 245.2 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.1732, allocations: 55.39 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.1736, allocations: 258.1 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1737, allocations: 29.7 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.1738, allocations: 108.1 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.1738, allocations: 35.56 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.1739, allocations: 25.7 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.1742, allocations: 326.9 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1744, allocations: 27.98 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.1745, allocations: 31.97 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1749, allocations: 76.75 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1749, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000449/0.1754, allocations: 113.5 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1754, allocations: 8 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1755, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1755, allocations: 0 / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1757, allocations: 15.98 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.1757, allocations: 7.938 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.1758, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1758, allocations: 4 kB / 485.7 MB, free: 15.39 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.0001903/0.1761, allocations: 137.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.1761, allocations: 15.81 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.1767, allocations: 139.2 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1767, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1767, allocations: 7.938 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1768, allocations: 7.938 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1778, allocations: 431.2 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1778, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.178, allocations: 23.86 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.178, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.178, allocations: 8 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.178, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1781, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.1786, allocations: 216.2 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1787, allocations: 84.95 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.1788, allocations: 7.984 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1789, allocations: 4 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.179, allocations: 7.984 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.179, allocations: 8 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003241/0.1794, allocations: 188.4 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1794, allocations: 3.938 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000491/0.1799, allocations: 24 kB / 487 MB, free: 14 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.003604/0.1835, allocations: 1.09 MB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004506/0.184, allocations: 83.88 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.184, allocations: 4 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.1842, allocations: 43.91 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.1849, allocations: 19.27 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.1886, allocations: 1.773 MB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.1892, allocations: 0.7234 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.1893, allocations: 24.62 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1894, allocations: 35.42 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1894, allocations: 0 / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.2205, allocations: 3.26 MB / 494 MB, free: 7.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.076, allocations: 7.422 kB / 494 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1)