Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 103.7 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.001309/0.001309, allocations: 212.6 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.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2752/0.2752, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.003659/0.003659, allocations: 82.48 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1253, allocations: 62.44 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003543/0.1289, allocations: 2.042 MB / 482.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.131, allocations: 1.239 MB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1311, allocations: 7.938 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.1313, allocations: 47.58 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.1318, allocations: 207.2 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000955/0.1328, allocations: 438.5 kB / 484.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.1332, allocations: 291.2 kB / 484.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1333, allocations: 64.97 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1336, allocations: 131.4 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.1338, allocations: 183.3 kB / 484.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.1339, allocations: 12 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.134, allocations: 63.98 kB / 484.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1342, allocations: 135.6 kB / 485 MB, free: 328 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1344, allocations: 178.5 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.1348, allocations: 398.7 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1349, allocations: 4 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1349, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1349, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001103/0.136, allocations: 0.7966 MB / 486.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.136, allocations: 8.031 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.1361, allocations: 38.75 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.1364, allocations: 76.16 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.137, allocations: 479.6 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.137, allocations: 12.38 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.1371, allocations: 15.94 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1373, allocations: 127.2 kB / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1374, allocations: 3.906 kB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1374, allocations: 8 kB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1374, allocations: 0 / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.1376, allocations: 83.88 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.1386, allocations: 0.6878 MB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1388, allocations: 109.2 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1389, allocations: 45.81 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.139, allocations: 7.938 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.139, allocations: 30.78 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.297e-06/0.139, allocations: 0 / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001472/0.1405, allocations: 0.5289 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1406, allocations: 81.11 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.1417, allocations: 0.9142 MB / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1417, allocations: 29.7 kB / 489.7 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.142, allocations: 272.2 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.142, allocations: 51.25 kB / 490 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.1421, allocations: 33.7 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1423, allocations: 374.7 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.1425, allocations: 51.95 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1427, allocations: 77.61 kB / 490.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.143, allocations: 145.7 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.143, allocations: 0 / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005072/0.1436, allocations: 224.8 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1436, allocations: 4 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1436, allocations: 4 kB / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1436, allocations: 0 / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1438, allocations: 39.97 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1438, allocations: 0 / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.144, allocations: 16.73 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.144, allocations: 4 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002298/0.1442, allocations: 217.6 kB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1444, allocations: 59.25 kB / 491.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.145, allocations: 270.6 kB / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.145, allocations: 0 / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.145, allocations: 0 / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.145, allocations: 4 kB / 491.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.1462, allocations: 0.7903 MB / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1462, allocations: 0 / 492.3 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1464, allocations: 43.84 kB / 492.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1464, allocations: 4 kB / 492.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.1464, allocations: 4 kB / 492.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1465, allocations: 3.938 kB / 492.3 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1465, allocations: 3.984 kB / 492.3 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.147, allocations: 394 kB / 492.7 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.1472, allocations: 160.2 kB / 492.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.1473, allocations: 8 kB / 492.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1475, allocations: 15.92 kB / 492.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1476, allocations: 11.98 kB / 492.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1476, allocations: 4 kB / 492.9 MB, free: 8.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000818/0.1484, allocations: 0.6786 MB / 493.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1484, allocations: 0 / 493.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.1488, allocations: 56 kB / 493.6 MB, free: 7.324 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 (16): * Single equations (assignments): 16 * 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.002261/0.1511, allocations: 1.229 MB / 494.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.1515, allocations: 159.7 kB / 495 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.1516, allocations: 4 kB / 495 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.1518, allocations: 79.89 kB / 495.1 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.1525, allocations: 72.06 kB / 495.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/0.1595, allocations: 5.232 MB / 0.4887 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.1601, allocations: 0.8614 MB / 0.4895 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1603, allocations: 79.23 kB / 0.4896 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.1605, allocations: 171.4 kB / 0.4897 GB, free: 15.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1605, allocations: 0 / 0.4897 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.1947, allocations: 9.727 MB / 0.4992 GB, free: 5.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.487, allocations: 16 kB / 0.4993 GB, free: 5.793 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_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_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1)