Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, 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.00126/0.00126, 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.55/1.55, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2302/0.2302, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.00224/0.00224, allocations: 79.67 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1242, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003424/0.1277, allocations: 1.678 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1288, allocations: 0.5571 MB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1288, allocations: 0 / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1291, allocations: 67.72 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.1294, allocations: 103.6 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.1298, allocations: 138.1 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.13, allocations: 83.77 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1301, allocations: 12.23 kB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.1302, allocations: 39.83 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1303, allocations: 63.75 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1304, allocations: 4 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1305, allocations: 51.98 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.1306, allocations: 23.92 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.1306, allocations: 43.66 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1308, allocations: 123.9 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1308, allocations: 0 / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1309, allocations: 0 / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1309, allocations: 0 / 483.2 MB, free: 2.109 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005932/0.1315, allocations: 426.9 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1315, allocations: 11.97 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1316, allocations: 38.75 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1316, allocations: 20.67 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1318, allocations: 200.1 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1319, allocations: 4.375 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1319, allocations: 4.375 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1321, allocations: 65.61 kB / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1321, allocations: 0 / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1321, allocations: 3.938 kB / 483.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1321, allocations: 7.984 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1323, allocations: 47.89 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.1327, allocations: 308.7 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.133, allocations: 66.58 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.1331, allocations: 28.97 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1331, allocations: 4 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1332, allocations: 30.56 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1332, allocations: 0 / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.1347, allocations: 405.1 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1348, allocations: 51.41 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.135, allocations: 214.3 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.135, allocations: 33.64 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.1351, allocations: 116 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.1352, allocations: 35.45 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.1353, allocations: 25.66 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1355, allocations: 330.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1356, allocations: 39.97 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1357, allocations: 47.95 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.136, allocations: 105.1 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.136, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003509/0.1364, allocations: 137.5 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1364, allocations: 7.984 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1364, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1364, allocations: 7.938 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1366, allocations: 27.92 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1366, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.1367, allocations: 15.98 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1367, allocations: 4 kB / 486 MB, free: 15.06 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 (11): * Single equations (assignments): 11 * 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.0001119/0.1368, allocations: 125.8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1368, allocations: 19.81 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.1373, allocations: 163 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1373, allocations: 3.938 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1373, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.1373, allocations: 0 / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007467/0.1381, allocations: 495.8 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1381, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1382, allocations: 27.97 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1382, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1382, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1382, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1382, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1386, allocations: 257.1 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1387, allocations: 89.02 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1387, allocations: 7.984 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1388, allocations: 8 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1389, allocations: 11.98 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.1389, allocations: 8 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1391, allocations: 172.8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1391, allocations: 3.938 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1393, allocations: 24 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002233/0.1416, allocations: 1.135 MB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.1421, allocations: 107.9 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1421, allocations: 0 / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1422, allocations: 59.91 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1427, allocations: 21.22 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.1453, allocations: 1.878 MB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1456, allocations: 0.7158 MB / 491.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.1457, allocations: 16.53 kB / 491.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1458, allocations: 39.42 kB / 491.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1458, allocations: 0 / 491.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.1725, allocations: 3.419 MB / 494.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.142, allocations: 5.906 kB / 494.8 MB, free: 6.246 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1)