Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001907/0.001907, 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.002364/0.002365, 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.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.229/0.229, allocations: 46.11 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.003032/0.003032, allocations: 79.12 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1218, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003225/0.1251, allocations: 1.592 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1261, allocations: 0.526 MB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.1262, allocations: 0 / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.1264, allocations: 27.8 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1267, allocations: 79.67 kB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.127, allocations: 87.7 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1272, allocations: 59.91 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1273, allocations: 19.92 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.1273, allocations: 19.88 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.1274, allocations: 27.84 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1274, allocations: 7.938 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.1275, allocations: 27.98 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.1276, allocations: 8 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.1276, allocations: 23.8 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1278, allocations: 84.06 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1278, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1278, allocations: 0 / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1278, allocations: 0 / 482.8 MB, free: 2.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005224/0.1283, allocations: 391 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1284, allocations: 12.03 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1284, allocations: 34.75 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.1285, allocations: 8.844 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1287, allocations: 190.8 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1287, allocations: 384 / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1287, allocations: 4.375 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1289, allocations: 49.62 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.1289, allocations: 4 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1289, allocations: 0 / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1289, allocations: 4 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.1291, allocations: 27.91 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.1295, allocations: 276.9 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.1297, allocations: 38.56 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.1298, allocations: 24.94 kB / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1298, allocations: 0 / 483.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1298, allocations: 34.5 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1298, allocations: 0 / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000589/0.1304, allocations: 145.3 kB / 484 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1305, allocations: 51.41 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1307, allocations: 160.4 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1307, allocations: 25.7 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.1308, allocations: 92.14 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1308, allocations: 15.8 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1309, allocations: 17.72 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.131, allocations: 322.8 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.36e-05/0.1311, allocations: 15.98 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.874e-05/0.1312, allocations: 27.92 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1313, allocations: 48.83 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1313, allocations: 0 / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000191/0.1315, allocations: 81.52 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1315, allocations: 4 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1316, allocations: 0 / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1316, allocations: 0 / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.1316, allocations: 24.17 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1317, allocations: 0 / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.1317, allocations: 11.94 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1317, allocations: 3.938 kB / 484.9 MB, free: 184 kB / 350.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 (5): * Single equations (assignments): 5 * 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.0001068/0.1318, allocations: 117.8 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1319, allocations: 7.906 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.1322, allocations: 97.91 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1322, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1322, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1322, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.1327, allocations: 350.4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1327, allocations: 4 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.653e-05/0.1327, allocations: 8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1328, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1328, allocations: 7.984 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1328, allocations: 3.938 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1328, allocations: 7.938 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.133, allocations: 171.4 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.1331, allocations: 77.11 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1331, allocations: 0 / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.1332, allocations: 15.92 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.1332, allocations: 4 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1332, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1334, allocations: 117.3 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1334, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1336, allocations: 19.91 kB / 485.9 MB, free: 15.08 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 (5): * Single equations (assignments): 5 * 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.001916/0.1355, allocations: 1.017 MB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1358, allocations: 47.97 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1358, allocations: 0 / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.1359, allocations: 27.92 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1362, allocations: 22.05 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.138, allocations: 1.423 MB / 488.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1383, allocations: 0.6924 MB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.1384, allocations: 12 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.1384, allocations: 23.42 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.154e-06/0.1385, allocations: 0 / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.162, allocations: 2.474 MB / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.847, allocations: 13 kB / 491.6 MB, free: 9.41 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1)