Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2429/0.2429, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002273/0.002273, allocations: 81.3 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003357/0.1269, allocations: 1.615 MB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.128, allocations: 0.5533 MB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1281, allocations: 4 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.1284, allocations: 71.77 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1287, allocations: 103.6 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1291, allocations: 111.7 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1293, allocations: 79.81 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1294, allocations: 20 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.1295, allocations: 39.83 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1296, allocations: 55.81 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1296, allocations: 4 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1297, allocations: 47.98 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.1298, allocations: 19.92 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.1298, allocations: 27.75 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1301, allocations: 108 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1301, allocations: 0 / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1301, allocations: 7.938 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1301, allocations: 0 / 483.1 MB, free: 2.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005848/0.1307, allocations: 414.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1307, allocations: 8.031 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.1308, allocations: 38.73 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.1308, allocations: 8.844 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1311, allocations: 196.8 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.1311, allocations: 4.375 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1311, allocations: 8.375 kB / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1313, allocations: 57.61 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1313, allocations: 3.906 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1313, allocations: 3.938 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1313, allocations: 4 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.1315, allocations: 27.97 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.1319, allocations: 304.7 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.1321, allocations: 50.5 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.1321, allocations: 20.94 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1322, allocations: 0 / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1322, allocations: 30.56 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1322, allocations: 0 / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001062/0.1333, allocations: 241.3 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.1334, allocations: 55.34 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.1336, allocations: 218.3 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1337, allocations: 33.7 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.1338, allocations: 100.1 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1338, allocations: 35.55 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.1339, allocations: 21.72 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1341, allocations: 322.8 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.1342, allocations: 31.97 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.1343, allocations: 32.05 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1345, allocations: 80.75 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1345, allocations: 0 / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.1347, allocations: 105.6 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1348, allocations: 8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1348, allocations: 96 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.1348, allocations: 3.984 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1349, allocations: 15.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.135, allocations: 7.938 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.135, allocations: 11.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.135, allocations: 4 kB / 485.5 MB, free: 15.54 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 (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 prepare postOptimizeDAE: time 0.000142/0.1352, allocations: 133.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1352, allocations: 15.81 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.1356, allocations: 131.3 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1356, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.1356, allocations: 11.92 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1356, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.1362, allocations: 419.3 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1363, allocations: 4 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.1363, allocations: 27.86 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1363, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1364, allocations: 8.031 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1364, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1364, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1367, allocations: 212.2 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1368, allocations: 88.95 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1368, allocations: 3.984 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1369, allocations: 11.94 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.1369, allocations: 11.98 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1369, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1371, allocations: 160.2 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1371, allocations: 4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1374, allocations: 20 kB / 486.8 MB, free: 14.19 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 (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.002239/0.1396, allocations: 1.088 MB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1399, allocations: 79.89 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1399, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.14, allocations: 43.91 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1405, allocations: 20.98 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1427, allocations: 1.706 MB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1431, allocations: 0.7158 MB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.659e-05/0.1432, allocations: 16.66 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1433, allocations: 35.42 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1433, allocations: 0 / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1689, allocations: 3.088 MB / 493.5 MB, free: 7.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.105, allocations: 5.016 kB / 493.6 MB, free: 7.5 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26_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_CombiTable1Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1)