Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001254/0.001254, 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.001319/0.001319, 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.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2547/0.2547, allocations: 46.13 MB / 344.2 MB, free: 11.55 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.002534/0.002534, allocations: 78.33 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1394, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003378/0.1428, allocations: 1.608 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.144, allocations: 0.5377 MB / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.144, allocations: 0 / 482.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.1447, allocations: 451.1 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.1452, allocations: 291.3 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.1456, allocations: 130.3 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.1459, allocations: 155.8 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.146, allocations: 12.19 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1461, allocations: 111.7 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.1464, allocations: 211.6 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1464, allocations: 0 / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.1465, allocations: 27.98 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1467, allocations: 83.69 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1468, allocations: 103 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1472, allocations: 239 kB / 484.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1472, allocations: 4 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1472, allocations: 4 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1472, allocations: 0 / 484.1 MB, free: 1.176 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.0008529/0.1481, allocations: 0.6377 MB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1481, allocations: 8.031 kB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.1482, allocations: 34.75 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.1483, allocations: 40.38 kB / 484.9 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.1487, allocations: 304.1 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1487, allocations: 384 / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1487, allocations: 4.125 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1489, allocations: 53.69 kB / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1489, allocations: 0 / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1489, allocations: 0 / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.149, allocations: 0 / 485.2 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.1491, allocations: 23.92 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.1497, allocations: 376.8 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.1498, allocations: 34.56 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.1498, allocations: 16.86 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1498, allocations: 3.938 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1499, allocations: 34.5 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1499, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000287/0.1502, allocations: 101.2 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1502, allocations: 59.44 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1512, allocations: 0.866 MB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1513, allocations: 25.7 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1515, allocations: 232 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1515, allocations: 3.906 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1516, allocations: 17.72 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.1518, allocations: 362.7 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/0.1519, allocations: 12 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1519, allocations: 15.92 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.152, allocations: 24.84 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.152, allocations: 0 / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001668/0.1522, allocations: 89.12 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1522, allocations: 4 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1522, allocations: 0 / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1522, allocations: 4.094 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.1523, allocations: 4 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1523, allocations: 0 / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1524, allocations: 7.984 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1524, allocations: 3.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.0002452/0.1527, allocations: 209.8 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.1528, allocations: 47.38 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.153, allocations: 108.7 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.153, allocations: 8 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.153, allocations: 3.984 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.153, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.1534, allocations: 289.5 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1535, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.1535, allocations: 8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1535, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1535, allocations: 3.984 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1535, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1535, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1538, allocations: 198.8 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1539, allocations: 116.6 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.1539, allocations: 0 / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.154, allocations: 4 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.154, allocations: 0 / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.154, allocations: 3.938 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008138/0.1549, allocations: 0.6667 MB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1549, allocations: 0 / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1552, allocations: 16 kB / 489.2 MB, free: 11.81 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.001778/0.157, allocations: 0.9641 MB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1571, allocations: 19.98 kB / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1571, allocations: 0 / 490.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.1572, allocations: 12.06 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.0004578/0.1577, allocations: 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.003915/0.1616, allocations: 3.178 MB / 493.4 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.1622, allocations: 0.8182 MB / 494.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.1623, allocations: 8 kB / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1624, allocations: 123.3 kB / 494.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of SimCode: time 1.232e-06/0.1624, allocations: 0 / 494.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.1918, allocations: 5.614 MB / 499.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.138, allocations: 4.172 kB / 499.9 MB, free: 1.078 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1)