Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001921/0.001921, 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.002288/0.002288, 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.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2413/0.2413, 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.002403/0.002403, allocations: 81.91 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1221, allocations: 62.46 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003097/0.1252, allocations: 1.592 MB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1263, allocations: 0.5533 MB / 482.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.1264, allocations: 4 kB / 482.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.1266, allocations: 19.84 kB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.1269, allocations: 79.62 kB / 482.5 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1272, allocations: 91.7 kB / 482.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1273, allocations: 71.83 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1274, allocations: 15.98 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.1275, allocations: 23.86 kB / 482.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1276, allocations: 39.84 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1276, allocations: 7.984 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1278, allocations: 91.89 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.1278, allocations: 23.91 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.1279, allocations: 31.81 kB / 482.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1281, allocations: 136 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1282, allocations: 3.938 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1282, allocations: 0 / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1282, allocations: 0 / 483 MB, free: 2.367 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005572/0.1287, allocations: 419.1 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1288, allocations: 11.97 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1288, allocations: 34.75 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1289, allocations: 8.844 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1291, allocations: 192.2 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1291, allocations: 4.375 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1292, allocations: 384 / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1293, allocations: 67.34 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1294, allocations: 7.906 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1294, allocations: 4 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1294, allocations: 0 / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1295, allocations: 31.91 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.13, allocations: 304.8 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1301, allocations: 58.55 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.1302, allocations: 32.91 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1302, allocations: 0 / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.1303, allocations: 30.56 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1303, allocations: 4 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006826/0.131, allocations: 181.3 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.1311, allocations: 77.11 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1312, allocations: 156.2 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1313, allocations: 25.7 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.1313, allocations: 92.14 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.1314, allocations: 35.48 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.1314, allocations: 29.7 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1316, allocations: 318.8 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.1317, allocations: 35.97 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1318, allocations: 45.69 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.132, allocations: 72.89 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.132, allocations: 4 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002608/0.1323, allocations: 113.9 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1323, allocations: 10.53 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1323, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1324, allocations: 7.984 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1325, allocations: 16 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1325, allocations: 7.984 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.1326, allocations: 4 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1326, allocations: 7.922 kB / 485.4 MB, free: 15.72 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 (9): * Single equations (assignments): 9 * 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.0001005/0.1327, allocations: 117.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1327, allocations: 15.89 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.133, allocations: 122.3 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.133, allocations: 4 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1331, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1331, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.1336, allocations: 406.3 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1337, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.1337, allocations: 16 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1337, allocations: 3.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1338, allocations: 3.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1338, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1338, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1341, allocations: 199.4 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1341, allocations: 89.02 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.1342, allocations: 3.938 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1342, allocations: 7.984 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1343, allocations: 4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.1343, allocations: 4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1344, allocations: 121.8 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1344, allocations: 3.938 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003006/0.1347, allocations: 47.98 kB / 486.5 MB, free: 14.47 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 (8): * Single equations (assignments): 8 * 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.002229/0.137, allocations: 1.122 MB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1373, allocations: 83.88 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1373, allocations: 3.938 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1374, allocations: 39.91 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1378, allocations: 16 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.1397, allocations: 1.554 MB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1401, allocations: 0.6924 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.1402, allocations: 28.55 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.1403, allocations: 31.42 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1403, allocations: 4 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.1667, allocations: 3.472 MB / 493.6 MB, free: 7.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.221, allocations: 3.375 kB / 493.6 MB, free: 7.543 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_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_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1)