Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, 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.001258/0.001258, 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.514/1.514, 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.2312/0.2312, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.00239/0.00239, allocations: 74.62 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1201, allocations: 62.46 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004404/0.1245, allocations: 2.103 MB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1273, allocations: 1.391 MB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.1275, allocations: 4 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1279, allocations: 67.44 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.1285, allocations: 211.1 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1301, allocations: 0.6269 MB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.1307, allocations: 343 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.131, allocations: 69 kB / 485 MB, free: 352 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.1314, allocations: 155.3 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.1318, allocations: 207.3 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.1319, allocations: 16 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1321, allocations: 63.83 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.1323, allocations: 159.4 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1325, allocations: 178.5 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.1331, allocations: 434.3 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1331, allocations: 4 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1332, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.1332, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001311/0.1345, allocations: 0.8433 MB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1346, allocations: 12.03 kB / 487.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1346, allocations: 38.75 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.1351, allocations: 92.14 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007229/0.1358, allocations: 0.4885 MB / 487.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1359, allocations: 8.375 kB / 487.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.1359, allocations: 15.94 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.1363, allocations: 159.2 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1364, allocations: 4 kB / 487.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.1364, allocations: 4 kB / 487.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.1364, allocations: 4 kB / 487.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1367, allocations: 123.8 kB / 488 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.138, allocations: 0.7346 MB / 488.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1383, allocations: 137.2 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1385, allocations: 69.8 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1385, allocations: 0 / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1386, allocations: 38.5 kB / 489 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1386, allocations: 4 kB / 489 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002372/0.1409, allocations: 0.7632 MB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.141, allocations: 81.11 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.1423, allocations: 0.9299 MB / 490.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1423, allocations: 29.7 kB / 490.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.1426, allocations: 276.3 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.1427, allocations: 63.02 kB / 491.1 MB, free: 10 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.1428, allocations: 45.69 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1429, allocations: 321.9 kB / 491.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.1432, allocations: 103.9 kB / 491.6 MB, free: 9.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.1436, allocations: 135.9 kB / 491.7 MB, free: 9.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.1442, allocations: 253.6 kB / 491.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1442, allocations: 4 kB / 491.9 MB, free: 9.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000803/0.145, allocations: 336.7 kB / 492.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.145, allocations: 8 kB / 492.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1451, allocations: 3.984 kB / 492.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1451, allocations: 0 / 492.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1454, allocations: 55.95 kB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1454, allocations: 7.984 kB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1456, allocations: 24.11 kB / 492.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1456, allocations: 7.984 kB / 492.4 MB, free: 8.695 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002756/0.1459, allocations: 229.6 kB / 492.6 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1461, allocations: 63.25 kB / 492.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009649/0.147, allocations: 402.6 kB / 493.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.147, allocations: 0 / 493.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1471, allocations: 0 / 493.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1471, allocations: 4 kB / 493.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.1488, allocations: 0.9701 MB / 494 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1488, allocations: 4 kB / 494 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.1491, allocations: 59.89 kB / 494.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1491, allocations: 0 / 494.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.1491, allocations: 11.98 kB / 494.1 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.1491, allocations: 3.938 kB / 494.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1491, allocations: 0 / 494.1 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.15, allocations: 0.5057 MB / 494.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1502, allocations: 160.3 kB / 494.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.1503, allocations: 0 / 494.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.1505, allocations: 27.92 kB / 494.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.1506, allocations: 19.97 kB / 494.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1507, allocations: 8.359 kB / 494.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009463/0.1516, allocations: 0.6825 MB / 495.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1516, allocations: 0 / 495.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.1521, allocations: 68 kB / 495.6 MB, free: 5.387 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 (20): * Single equations (assignments): 20 * 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.002818/0.1549, allocations: 1.353 MB / 496.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008303/0.1557, allocations: 275.6 kB / 497.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1557, allocations: 0 / 497.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.1561, allocations: 143.8 kB / 497.3 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.1569, allocations: 77.94 kB / 497.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00842/0.1653, allocations: 5.698 MB / 0.4913 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.166, allocations: 0.896 MB / 0.4922 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.1663, allocations: 103.2 kB / 0.4923 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.1666, allocations: 195.3 kB / 0.4925 GB, free: 12.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1666, allocations: 0 / 0.4925 GB, free: 12.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.2057, allocations: 10.53 MB / 0.5028 GB, free: 2.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.467, allocations: 6.875 kB / 0.5028 GB, free: 2.211 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1)