Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 103.7 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.00136/0.00136, allocations: 212.6 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.462/1.462, 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.2318/0.2318, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002923/0.002924, allocations: 77.34 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1388, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003508/0.1424, allocations: 1.616 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1436, allocations: 0.5455 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1436, allocations: 0 / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.1443, allocations: 455.1 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.1448, allocations: 291.3 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1452, allocations: 130.6 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.1454, allocations: 163.6 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1456, allocations: 23.97 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1457, allocations: 99.8 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.146, allocations: 207.6 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.146, allocations: 4 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.1461, allocations: 35.91 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1462, allocations: 79.69 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1463, allocations: 103 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1467, allocations: 255 kB / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1467, allocations: 0 / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1467, allocations: 7.938 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1467, allocations: 0 / 484.2 MB, free: 1.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008363/0.1476, allocations: 0.6416 MB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1476, allocations: 8.031 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1476, allocations: 30.75 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.1477, allocations: 44.38 kB / 484.9 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.148, allocations: 304.1 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1481, allocations: 4.375 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.1481, allocations: 4.312 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1483, allocations: 61.61 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1483, allocations: 0 / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1483, allocations: 0 / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1483, allocations: 0 / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1484, allocations: 31.97 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.1489, allocations: 380.8 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1491, allocations: 42.5 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.1492, allocations: 20.94 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1492, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1492, allocations: 38.56 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1492, allocations: 0 / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003558/0.1496, allocations: 121.1 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1497, allocations: 59.33 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.1506, allocations: 0.8699 MB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1506, allocations: 25.7 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1508, allocations: 216 kB / 487.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.1509, allocations: 11.81 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1509, allocations: 21.7 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.1512, allocations: 362.7 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1513, allocations: 15.98 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.1514, allocations: 19.98 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1515, allocations: 36.83 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1516, allocations: 4 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002192/0.1518, allocations: 105.1 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1518, allocations: 4 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1518, allocations: 3.938 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1518, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.152, allocations: 11.98 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.152, allocations: 0 / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.152, allocations: 15.89 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.152, allocations: 0 / 487.7 MB, free: 13.45 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 (3): * Single equations (assignments): 3 * 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.0002223/0.1523, allocations: 213.7 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.1523, allocations: 39.53 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1526, allocations: 121 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1526, allocations: 0 / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1527, allocations: 4 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1527, allocations: 0 / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.153, allocations: 297.4 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.153, allocations: 4 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.1531, allocations: 4 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1531, allocations: 4 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1531, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1531, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1531, allocations: 0 / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1534, allocations: 202.9 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1535, allocations: 124.5 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1535, allocations: 0 / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.1536, allocations: 4 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.1537, allocations: 0 / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.1537, allocations: 4.406 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006936/0.1544, allocations: 0.655 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1544, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1546, allocations: 16 kB / 489.3 MB, free: 11.68 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 (3): * Single equations (assignments): 3 * 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.001883/0.1565, allocations: 1.005 MB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1568, allocations: 39.91 kB / 490.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1568, allocations: 0 / 490.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.1569, allocations: 23.92 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.1574, allocations: 27.53 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.1616, allocations: 3.201 MB / 493.6 MB, free: 7.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.1622, allocations: 0.8221 MB / 494.4 MB, free: 6.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.1623, allocations: 8 kB / 494.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.1625, allocations: 115.4 kB / 494.6 MB, free: 6.418 MB / 366.1 MB Notification: Performance of SimCode: time 1.183e-06/0.1625, allocations: 4 kB / 494.6 MB, free: 6.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.1935, allocations: 5.632 MB / 0.4885 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.091, allocations: 9.016 kB / 0.4885 GB, free: 0.8398 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_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_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1)