Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001391/0.001391, allocations: 104.6 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.001376/0.001376, 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.505/1.505, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2392/0.2392, allocations: 46.1 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.002234/0.002234, allocations: 82.2 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1228, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00331/0.1262, allocations: 1.616 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1272, allocations: 0.5455 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.1273, allocations: 0 / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1276, allocations: 79.7 kB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.1278, allocations: 111.6 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.1282, allocations: 106.9 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.1283, allocations: 83.81 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.1284, allocations: 23.98 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.1285, allocations: 35.84 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1286, allocations: 51.83 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1286, allocations: 4 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.1287, allocations: 47.97 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1288, allocations: 23.86 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.1289, allocations: 27.75 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1291, allocations: 108 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1291, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.1291, allocations: 4 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1291, allocations: 3.938 kB / 483.1 MB, free: 2.242 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.0005051/0.1296, allocations: 410.9 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1296, allocations: 12.03 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.1297, allocations: 34.75 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1297, allocations: 8.844 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1299, allocations: 200.8 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.13, allocations: 384 / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.13, allocations: 8.312 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1301, allocations: 61.61 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1302, allocations: 3.906 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1302, allocations: 4 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1302, allocations: 0 / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.1303, allocations: 23.98 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1307, allocations: 308.7 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1309, allocations: 46.5 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1309, allocations: 20.94 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.131, allocations: 4.062 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.131, allocations: 34.56 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.131, allocations: 0 / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009673/0.132, allocations: 241 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.132, allocations: 55.39 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1323, allocations: 218.2 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1323, allocations: 33.64 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.1324, allocations: 108.1 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.1324, allocations: 31.62 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1325, allocations: 21.7 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1326, allocations: 326.8 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.1327, allocations: 23.98 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.1328, allocations: 31.97 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.133, allocations: 72.83 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.133, allocations: 7.984 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000234/0.1332, allocations: 113.8 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1333, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1333, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1333, allocations: 4 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1334, allocations: 27.92 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1334, allocations: 3.938 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.1335, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1335, 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.0001014/0.1336, allocations: 129.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1336, allocations: 11.81 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.1339, allocations: 134.9 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.134, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.134, allocations: 7.938 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.134, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.1346, allocations: 427.3 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1346, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.1347, allocations: 19.92 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1347, allocations: 4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1347, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1347, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1347, allocations: 4.031 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.135, allocations: 220.1 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.1351, allocations: 84.95 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1351, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1352, allocations: 7.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1352, allocations: 15.92 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1352, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1354, allocations: 160.2 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1354, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1357, allocations: 27.98 kB / 486.8 MB, free: 14.2 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.002163/0.1378, allocations: 1.098 MB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1381, allocations: 75.95 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1381, allocations: 0 / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1382, 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.000412/0.1387, allocations: 27.41 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1408, allocations: 1.702 MB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1412, allocations: 0.7118 MB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.1413, allocations: 20.95 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.1413, allocations: 39.42 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1413, allocations: 0 / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1667, allocations: 3.081 MB / 493.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.088, allocations: 13.06 kB / 493.6 MB, free: 7.488 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1)