Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, 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.00215/0.00215, 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.482/1.482, 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.2233/0.2233, 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.002287/0.002287, allocations: 82.67 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1217, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003103/0.1249, allocations: 1.619 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1259, allocations: 0.5377 MB / 482.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.126, allocations: 4 kB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1263, allocations: 123.7 kB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1266, allocations: 127.5 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1269, allocations: 98.81 kB / 482.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1271, allocations: 91.86 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.1272, allocations: 15.98 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.1272, allocations: 51.81 kB / 482.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1274, allocations: 79.8 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1274, allocations: 7.938 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.1275, allocations: 43.98 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.1276, allocations: 35.84 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1276, allocations: 35.67 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1278, allocations: 115.9 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1278, allocations: 0 / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1278, allocations: 0 / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1278, allocations: 4 kB / 483.2 MB, free: 2.156 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.0005011/0.1283, allocations: 434.8 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1284, allocations: 8.031 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.1284, allocations: 34.75 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.1285, allocations: 12.75 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1287, allocations: 215.9 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1287, allocations: 384 / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.1287, allocations: 12.36 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1289, allocations: 53.62 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1289, allocations: 0 / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1289, allocations: 3.938 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1289, allocations: 0 / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.87e-05/0.129, allocations: 31.97 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1294, allocations: 304.7 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.1295, allocations: 46.55 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.1296, allocations: 16.86 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1296, allocations: 0 / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1297, allocations: 30.56 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1297, allocations: 0 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009029/0.1306, allocations: 248.9 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1306, allocations: 51.41 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1309, allocations: 279.7 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1309, allocations: 25.7 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.131, allocations: 120.1 kB / 485.1 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1311, allocations: 27.61 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.1311, allocations: 25.72 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1313, allocations: 326.8 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.1314, allocations: 19.98 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.341e-05/0.1315, allocations: 31.97 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1316, allocations: 60.83 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1316, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.1319, allocations: 109.7 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1319, allocations: 4 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1319, allocations: 0 / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1319, allocations: 0 / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1321, allocations: 19.98 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1321, allocations: 8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1321, allocations: 15.83 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1321, allocations: 0 / 485.7 MB, free: 15.4 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.0001279/0.1323, allocations: 137.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1323, allocations: 11.91 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1326, allocations: 126.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1326, allocations: 4 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1326, allocations: 7.938 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1326, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.1332, allocations: 415.3 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1332, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.1333, allocations: 23.92 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1333, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1334, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1334, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1334, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1337, allocations: 212.2 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.1337, allocations: 96.86 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1338, allocations: 0 / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.1338, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1339, allocations: 7.984 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1339, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1341, allocations: 217.5 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1341, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1344, allocations: 20 kB / 487 MB, free: 14.02 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.002141/0.1365, allocations: 1.09 MB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1368, allocations: 75.86 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1368, allocations: 4 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.1369, allocations: 27.98 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1373, allocations: 28.98 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.1395, allocations: 1.793 MB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1399, allocations: 0.7158 MB / 490.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.14, allocations: 12.66 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.14, allocations: 43.42 kB / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.14, allocations: 0 / 490.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.165, allocations: 3.315 MB / 494.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.173, allocations: 9.016 kB / 494.1 MB, free: 7.008 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1)