Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001928/0.001928, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002357/0.002357, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2263/0.2263, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002617/0.002617, allocations: 79.8 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1218, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003167/0.1251, allocations: 1.621 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1261, allocations: 0.5338 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.1262, allocations: 4 kB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1265, allocations: 71.77 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.1268, allocations: 111.6 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1271, allocations: 91.7 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1273, allocations: 75.88 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1274, allocations: 19.98 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.1275, allocations: 39.78 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1276, allocations: 55.81 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1276, allocations: 4 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.1277, allocations: 43.98 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1278, allocations: 23.91 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1278, allocations: 35.75 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.128, allocations: 99.98 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.128, allocations: 0 / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.128, allocations: 3.938 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.128, allocations: 0 / 483 MB, free: 2.289 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.0004958/0.1285, allocations: 418.9 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1286, allocations: 12.03 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1286, allocations: 34.75 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.1287, allocations: 8.844 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1289, allocations: 196.8 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1289, allocations: 4.375 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1289, allocations: 4.375 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1291, allocations: 61.59 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1291, allocations: 3.906 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1291, allocations: 0 / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1291, allocations: 4 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.802e-05/0.1292, allocations: 27.91 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1296, allocations: 300.8 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1297, allocations: 38.56 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.1298, allocations: 20.94 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1298, allocations: 3.938 kB / 484.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1298, allocations: 34.56 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1299, allocations: 7.938 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008745/0.1307, allocations: 221.4 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1308, allocations: 55.34 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.131, allocations: 214.3 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1311, allocations: 33.7 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1311, allocations: 108.1 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1312, allocations: 35.59 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1312, allocations: 17.72 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1314, allocations: 322.8 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.1315, allocations: 23.98 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.1315, allocations: 27.97 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1317, allocations: 68.77 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1317, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002192/0.1319, allocations: 93.58 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.132, allocations: 8 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.132, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.132, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.1321, allocations: 15.98 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1321, allocations: 11.94 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1322, allocations: 3.984 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1322, allocations: 7.984 kB / 485.4 MB, free: 15.65 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.0001093/0.1323, allocations: 129.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1323, allocations: 11.81 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1326, allocations: 127.3 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1326, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1327, allocations: 7.938 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1327, allocations: 3.984 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.1332, allocations: 403.4 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1332, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.1333, allocations: 19.92 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1333, allocations: 8.031 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1333, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1334, allocations: 3.938 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1334, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1337, allocations: 204.2 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1337, allocations: 88.95 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.1338, allocations: 4 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1338, allocations: 11.92 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.1339, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1339, allocations: 8 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.134, allocations: 160.2 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.134, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1343, allocations: 23.92 kB / 486.6 MB, free: 14.34 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.002194/0.1365, allocations: 1.085 MB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1368, allocations: 67.89 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1368, allocations: 0 / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.757e-05/0.1369, allocations: 39.91 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.1373, allocations: 21.98 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1393, allocations: 1.65 MB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1397, allocations: 0.7119 MB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1397, allocations: 16.95 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.718e-05/0.1398, allocations: 31.42 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1398, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1646, allocations: 3.038 MB / 493.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.015, allocations: 9 kB / 493.3 MB, free: 7.773 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_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_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1)