Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, 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.002673/0.002672, 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.511/1.511, 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.2763/0.2763, 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.003214/0.003215, allocations: 80.23 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1282, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00328/0.1316, allocations: 1.688 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.1325, allocations: 0.5494 MB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.1326, allocations: 0 / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1328, allocations: 71.7 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1332, allocations: 107.6 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1335, allocations: 129.9 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1337, allocations: 91.73 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1338, allocations: 20.23 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.1339, allocations: 39.84 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.134, allocations: 59.81 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.134, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1341, allocations: 47.97 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.1342, allocations: 27.91 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.1342, allocations: 35.69 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1344, allocations: 119.9 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1344, allocations: 4 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1345, allocations: 0 / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1345, allocations: 0 / 483.2 MB, free: 2.133 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005569/0.135, allocations: 438.8 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1351, allocations: 8.031 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.1351, allocations: 38.67 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1352, allocations: 16.75 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1354, allocations: 208.1 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1354, allocations: 384 / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1354, allocations: 4.375 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1356, allocations: 69.55 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1356, allocations: 4 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1356, allocations: 4 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1356, allocations: 0 / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1358, allocations: 39.95 kB / 484 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.1363, allocations: 312.7 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1365, allocations: 66.53 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.1366, allocations: 24.97 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1367, allocations: 0 / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1367, allocations: 30.56 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1367, allocations: 0 / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001614/0.1383, allocations: 412.8 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1384, allocations: 51.41 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1386, allocations: 218.3 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1387, allocations: 25.7 kB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.1387, allocations: 112 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1388, allocations: 47.39 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.1389, allocations: 25.72 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.139, allocations: 326.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1392, allocations: 39.95 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1393, allocations: 44.02 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.1396, allocations: 100.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1396, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003344/0.1399, allocations: 149.4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.14, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.14, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.14, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1401, allocations: 27.98 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1401, allocations: 8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.1402, allocations: 7.984 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1402, allocations: 4 kB / 486 MB, free: 15.09 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 (11): * Single equations (assignments): 11 * 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.00012/0.1404, allocations: 137.7 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.1404, allocations: 11.81 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.1408, allocations: 163 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1408, allocations: 8.5 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1408, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1409, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.1416, allocations: 491.9 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1416, allocations: 4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1417, allocations: 23.98 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1417, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1417, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1417, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1417, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.1421, allocations: 257 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.1422, allocations: 89 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.1422, allocations: 8 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1424, allocations: 7.984 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1424, allocations: 12 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1424, allocations: 4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1426, allocations: 180.7 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1426, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1429, allocations: 24 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002316/0.1452, allocations: 1.138 MB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.1456, allocations: 107.9 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1456, allocations: 0 / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1457, allocations: 59.91 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1461, allocations: 29.91 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.1488, allocations: 1.867 MB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.1492, allocations: 0.7196 MB / 491.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.1493, allocations: 16.55 kB / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.1494, allocations: 39.42 kB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1494, allocations: 0 / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.1753, allocations: 3.41 MB / 494.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.188, allocations: 12.45 kB / 494.8 MB, free: 6.266 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_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_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1)