Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, 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.002167/0.002168, 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.519/1.519, 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.2269/0.2269, allocations: 46.12 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.002334/0.002334, allocations: 77.59 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1318, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00321/0.135, allocations: 1.604 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1361, allocations: 0.5377 MB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.1362, allocations: 0 / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006014/0.1368, allocations: 455.1 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.1373, allocations: 295.3 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1376, allocations: 122.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1379, allocations: 159.8 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.138, allocations: 16.12 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1381, allocations: 111.8 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1384, allocations: 207.6 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1384, allocations: 4 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.1385, allocations: 24 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1386, allocations: 79.67 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.1387, allocations: 103 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.139, allocations: 247 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.139, allocations: 0 / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1391, allocations: 0 / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1391, allocations: 0 / 484.1 MB, free: 1.191 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.0007863/0.1399, allocations: 0.6377 MB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1399, allocations: 12.03 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.14, allocations: 38.73 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.14, allocations: 44.36 kB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1403, allocations: 296.2 kB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-06/0.1403, allocations: 4.375 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1404, allocations: 8.125 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1405, allocations: 45.69 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1405, allocations: 0 / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1405, allocations: 0 / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1405, allocations: 4 kB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1406, allocations: 23.97 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.1411, allocations: 384.7 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.648e-05/0.1412, allocations: 30.56 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.1413, allocations: 16.91 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1413, allocations: 0 / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1414, allocations: 34.56 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 2.946e-06/0.1414, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.1416, allocations: 105 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.1417, allocations: 51.41 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009566/0.1427, allocations: 0.8738 MB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1427, allocations: 25.7 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.1429, allocations: 224 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.1429, allocations: 3.906 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.143, allocations: 21.7 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1432, allocations: 366.8 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.586e-05/0.1432, allocations: 11.98 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.1433, allocations: 8 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.877e-05/0.1434, allocations: 28.78 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1434, allocations: 0 / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001594/0.1435, allocations: 93.12 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1436, allocations: 8.094 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1436, allocations: 0 / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1436, allocations: 0 / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.1437, allocations: 11.98 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1437, allocations: 0 / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1437, allocations: 0 / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1437, allocations: 7.938 kB / 487.5 MB, free: 13.57 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 (2): * Single equations (assignments): 2 * 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.0002074/0.144, allocations: 205.8 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.144, allocations: 43.44 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1443, allocations: 116.7 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1443, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1443, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1443, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.1447, allocations: 285.5 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1447, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.1448, allocations: 7.984 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1448, allocations: 0 / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1448, allocations: 7.938 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1448, allocations: 4.031 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1448, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1451, allocations: 198.8 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1452, allocations: 104.6 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1452, allocations: 0 / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.1453, allocations: 8 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.1453, allocations: 3.984 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1453, allocations: 4.031 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007006/0.146, allocations: 0.6589 MB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1463, allocations: 19.98 kB / 489.2 MB, free: 11.82 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 (2): * Single equations (assignments): 2 * 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.001726/0.1481, allocations: 0.976 MB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1482, allocations: 27.92 kB / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1482, allocations: 0 / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.1483, allocations: 16.05 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1487, allocations: 23.38 kB / 490.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.1526, allocations: 3.182 MB / 493.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.1531, allocations: 0.8182 MB / 494.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.1531, allocations: 11.98 kB / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1533, allocations: 107.4 kB / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1533, allocations: 0 / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.1857, allocations: 5.613 MB / 499.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.175, allocations: 4.953 kB / 499.9 MB, free: 1.094 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_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_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1)