Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, 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.002147/0.002147, 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.472/1.472, 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.2313/0.2313, allocations: 46.11 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.002319/0.002319, allocations: 83.03 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002992/0.1358, allocations: 1.646 MB / 481.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.1366, allocations: 0.6802 MB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.1367, allocations: 4 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1369, allocations: 27.8 kB / 482.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1371, allocations: 39.88 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.599e-06/0.1371, allocations: 7.938 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1373, allocations: 23.92 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1373, allocations: 15.97 kB / 482.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.1374, allocations: 7.938 kB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1375, allocations: 23.86 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1375, allocations: 0 / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.1375, allocations: 8 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.1376, allocations: 19.92 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1376, allocations: 15.88 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1378, allocations: 79.95 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1378, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1378, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1378, allocations: 0 / 482.8 MB, free: 2.527 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000432/0.1382, allocations: 359.4 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1383, allocations: 11.97 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.1383, allocations: 42.73 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1384, allocations: 12.75 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1385, allocations: 168.3 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1386, allocations: 12.36 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1386, allocations: 384 / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1388, allocations: 121.4 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1388, allocations: 3.938 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1388, allocations: 7.984 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/0.1388, allocations: 23.98 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.1389, allocations: 47.84 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.1397, allocations: 0.8867 MB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.308e-05/0.1398, allocations: 169.1 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.1398, allocations: 84.08 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1399, allocations: 75.28 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.1399, allocations: 109.8 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1399, allocations: 4 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.522e-05/0.14, allocations: 41.64 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.1401, allocations: 126.7 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1403, allocations: 186.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1404, allocations: 25.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1405, allocations: 159 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.1405, allocations: 4 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1406, allocations: 41.61 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1407, allocations: 326.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.1408, allocations: 31.98 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1409, allocations: 157 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1411, allocations: 200.9 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1411, allocations: 4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003184/0.1415, allocations: 205 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1415, allocations: 4.625 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1415, allocations: 15.94 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1415, allocations: 4 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1417, allocations: 35.92 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1417, allocations: 8 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.1418, allocations: 23.69 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1418, allocations: 12 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001355/0.142, allocations: 217 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.1421, allocations: 116.8 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.1421, allocations: 120.8 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/0.1422, allocations: 176.3 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.519e-05/0.1423, allocations: 180.2 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.345e-05/0.1424, allocations: 180.3 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.1426, allocations: 429.1 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-05/0.1427, allocations: 109 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.1427, allocations: 101 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.518e-05/0.1428, allocations: 188.2 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.1429, allocations: 184.2 kB / 488.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.03e-05/0.143, allocations: 184.2 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.747e-05/0.1431, allocations: 176.3 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1432, allocations: 323.6 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1433, allocations: 182 kB / 489.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.753e-05/0.1434, allocations: 184.2 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.1435, allocations: 101 kB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.1436, allocations: 184.2 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.1437, allocations: 105 kB / 489.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1438, allocations: 131.2 kB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1438, allocations: 3.938 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1441, allocations: 16 kB / 490 MB, free: 10.7 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 (0): * Single equations (assignments): 0 * 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.0009948/0.1451, allocations: 0.9071 MB / 490.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1453, allocations: 75.78 kB / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1453, allocations: 1.25 kB / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1453, allocations: 0 / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.1457, allocations: 467.7 kB / 491.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1475, allocations: 1.874 MB / 493.3 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1478, allocations: 0.7006 MB / 494 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.148, allocations: 49.02 kB / 494.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.1481, allocations: 23.44 kB / 494.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1481, allocations: 0 / 494.1 MB, free: 6.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1722, allocations: 2.056 MB / 496.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.067, allocations: 8.969 kB / 496.2 MB, free: 4.434 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1)