Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, 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.00152/0.00152, 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.482/1.482, 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.2361/0.2361, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002312/0.002312, allocations: 84.72 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.116, allocations: 62.44 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003385/0.1195, allocations: 1.662 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1205, allocations: 0.5572 MB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.1206, allocations: 0 / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.1212, allocations: 455.1 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.1218, allocations: 291.3 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.1221, allocations: 146.1 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1224, allocations: 163.7 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1225, allocations: 15.98 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1226, allocations: 111.8 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1229, allocations: 223.5 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1229, allocations: 4 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.123, allocations: 31.98 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1232, allocations: 83.69 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1233, allocations: 107 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.1236, allocations: 255.2 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1236, allocations: 0 / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1236, allocations: 3.938 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1236, allocations: 0 / 484.3 MB, free: 1.02 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.0008354/0.1245, allocations: 0.6686 MB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1245, allocations: 8.031 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.1246, allocations: 34.75 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.1246, allocations: 44.38 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.125, allocations: 296.2 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.125, allocations: 4.359 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.125, allocations: 8.375 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1252, allocations: 61.59 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1252, allocations: 0 / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1252, allocations: 4 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1252, allocations: 4 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1254, allocations: 35.91 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.1259, allocations: 392.6 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.126, allocations: 46.56 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.984e-05/0.1261, allocations: 20.94 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1261, allocations: 7.938 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1262, allocations: 30.56 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1262, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008623/0.127, allocations: 291.9 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1271, allocations: 51.41 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009141/0.128, allocations: 0.8736 MB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.128, allocations: 29.7 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.1282, allocations: 220.1 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1283, allocations: 19.69 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.1283, allocations: 25.72 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1285, allocations: 362.8 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1287, allocations: 31.97 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1288, allocations: 31.97 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.129, allocations: 72.81 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.129, allocations: 0 / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003179/0.1293, allocations: 149 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1294, allocations: 8 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1294, allocations: 4 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1294, allocations: 3.938 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1295, allocations: 19.98 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1295, allocations: 8.297 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.1296, allocations: 7.938 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1296, allocations: 4 kB / 488.1 MB, free: 12.95 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 (7): * Single equations (assignments): 7 * 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.0002135/0.1299, allocations: 213.8 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1299, allocations: 43.44 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.1304, allocations: 185.7 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1304, allocations: 0 / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1304, allocations: 3.984 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1304, allocations: 3.938 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.1311, allocations: 498.4 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1311, allocations: 4 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.1312, allocations: 27.92 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1313, allocations: 0 / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1313, allocations: 11.92 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1313, allocations: 0 / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1313, allocations: 0 / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.1317, allocations: 239 kB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.1318, allocations: 112.5 kB / 489.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1318, allocations: 7.922 kB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1319, allocations: 12 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.132, allocations: 3.984 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.132, allocations: 4 kB / 489.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006789/0.1327, allocations: 0.655 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.1327, allocations: 4 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1329, allocations: 31.94 kB / 490.1 MB, free: 10.8 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 (7): * Single equations (assignments): 7 * 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.002036/0.135, allocations: 1.069 MB / 491.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.1353, allocations: 83.88 kB / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1353, allocations: 0 / 491.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1354, allocations: 47.95 kB / 491.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1359, allocations: 27.55 kB / 491.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.1401, allocations: 3.347 MB / 494.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.1406, allocations: 0.826 MB / 495.5 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.807e-05/0.1407, allocations: 16.66 kB / 495.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1408, allocations: 103.4 kB / 495.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1409, allocations: 4 kB / 495.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.1707, allocations: 6.046 MB / 0.4899 GB, free: 15.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.291, allocations: 11.66 kB / 0.49 GB, free: 15.3 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_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_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1)