Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.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.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, 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.001418/0.001418, 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.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2579/0.2579, allocations: 46.12 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.002423/0.002423, allocations: 80.64 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1309, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003764/0.1347, allocations: 1.683 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1359, allocations: 0.5766 MB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.136, allocations: 8 kB / 482.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.1362, allocations: 55.8 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1366, allocations: 103.6 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.137, allocations: 188.9 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1373, allocations: 83.77 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1374, allocations: 24.2 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.1375, allocations: 31.86 kB / 483 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1376, allocations: 47.83 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.1376, allocations: 8 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.1378, allocations: 51.92 kB / 483.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.1378, allocations: 27.91 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.1379, allocations: 35.73 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.1382, allocations: 123.8 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1382, allocations: 0 / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1382, allocations: 0 / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1382, allocations: 0 / 483.2 MB, free: 2.102 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.0006554/0.1389, allocations: 422.9 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1389, allocations: 8.031 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.139, allocations: 30.75 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.139, allocations: 12.84 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1393, allocations: 208.7 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1393, allocations: 384 / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1393, allocations: 4.375 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1395, allocations: 69.61 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1395, allocations: 0 / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1396, allocations: 0 / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1396, allocations: 4 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.1397, allocations: 51.89 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.1403, allocations: 332.6 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1406, allocations: 70.52 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.1407, allocations: 24.97 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1407, allocations: 3.984 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1407, allocations: 30.56 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1407, allocations: 0 / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001617/0.1423, allocations: 441.1 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1424, allocations: 51.41 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1427, allocations: 199.3 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1427, allocations: 25.7 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1428, allocations: 112 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.1429, allocations: 31.55 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.1429, allocations: 25.72 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1431, allocations: 326.8 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1433, allocations: 55.89 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1434, allocations: 51.95 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.1437, allocations: 132.7 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1437, allocations: 0 / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000352/0.1441, allocations: 161.4 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1441, allocations: 4 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1441, allocations: 3.984 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1441, allocations: 7.938 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1443, allocations: 27.92 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1443, allocations: 4 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.1444, allocations: 11.98 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1444, allocations: 4 kB / 486.1 MB, free: 14.98 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.0001196/0.1445, allocations: 133.8 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.1446, allocations: 11.81 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.145, allocations: 191.3 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.145, allocations: 11.92 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.145, allocations: 0 / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1451, allocations: 0 / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007494/0.1458, allocations: 0.4961 MB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1458, allocations: 3.984 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1459, allocations: 31.92 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.146, allocations: 0 / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.146, allocations: 4.094 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.146, allocations: 3.938 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.146, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.1464, allocations: 284.9 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1465, allocations: 93 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1465, allocations: 4 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.1466, allocations: 12.17 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1467, allocations: 16 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1467, allocations: 7.984 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1468, allocations: 140 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1468, allocations: 0 / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1471, allocations: 31.89 kB / 487.6 MB, free: 13.41 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.002231/0.1494, allocations: 1.149 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.1498, allocations: 139.8 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1498, allocations: 0 / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1499, allocations: 67.89 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.1504, allocations: 24.53 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1531, allocations: 1.907 MB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1535, allocations: 0.7197 MB / 491.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1536, allocations: 28.53 kB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.1537, allocations: 35.42 kB / 491.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1537, allocations: 0 / 491.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.1823, allocations: 3.451 MB / 495.1 MB, free: 5.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.177, allocations: 1.078 kB / 495.1 MB, free: 5.984 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26_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_CombiTable2Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1)