Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, 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.001499/0.001499, 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.49/1.49, 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.2339/0.2339, allocations: 46.11 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.002274/0.002274, allocations: 86.94 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1268, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.004341/0.1312, allocations: 1.668 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1331, allocations: 1.167 MB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.1332, allocations: 4 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1334, allocations: 27.84 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1337, allocations: 87.61 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1341, allocations: 127.6 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1342, allocations: 71.77 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1344, allocations: 19.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.1344, allocations: 27.86 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1346, allocations: 43.08 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1346, allocations: 4 kB / 483.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1348, allocations: 99.88 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1349, allocations: 11.98 kB / 483.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.1349, allocations: 35.8 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1352, allocations: 151.8 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1352, allocations: 7.938 kB / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1352, allocations: 0 / 483.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1352, allocations: 0 / 483.8 MB, free: 1.582 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.000636/0.1359, allocations: 415.1 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1359, allocations: 12.03 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.136, allocations: 38.73 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.136, allocations: 8.844 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1363, allocations: 198.9 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1363, allocations: 4.375 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1363, allocations: 8.375 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1365, allocations: 79.27 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1366, allocations: 0 / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1366, allocations: 4 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1366, allocations: 0 / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1367, allocations: 35.95 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1372, allocations: 292.8 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1373, allocations: 50.48 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.1374, allocations: 20.94 kB / 484.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1374, allocations: 8.062 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1374, allocations: 38.56 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1375, allocations: 0 / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007927/0.1382, allocations: 205.1 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.1383, allocations: 81.11 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1385, allocations: 164.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1385, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.1386, allocations: 96.12 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1387, allocations: 19.72 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.1387, allocations: 21.7 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1388, allocations: 318.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.139, allocations: 31.97 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1391, allocations: 49.62 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1394, allocations: 76.8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1394, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002913/0.1397, allocations: 117.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1397, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1397, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1397, allocations: 288 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1399, allocations: 19.98 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1399, allocations: 8 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.14, allocations: 23.8 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.14, allocations: 4 kB / 486.2 MB, free: 14.91 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 (7): * Single equations (assignments): 7 * 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 9.497e-05/0.1401, allocations: 125.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.1401, allocations: 15.83 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.1405, allocations: 118.3 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1405, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1405, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1405, allocations: 7.938 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.1411, allocations: 402.3 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1411, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.1412, allocations: 19.98 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1412, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1412, allocations: 7.938 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1412, allocations: 4 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1412, allocations: 4 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.1416, allocations: 203.3 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1416, allocations: 89 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1417, allocations: 3.938 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1418, allocations: 23.98 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1418, allocations: 7.984 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1418, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.142, allocations: 117.5 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000296/0.1423, allocations: 36 kB / 487.3 MB, free: 13.64 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 (7): * Single equations (assignments): 7 * 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.002279/0.1446, allocations: 1.128 MB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1449, allocations: 83.92 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1449, allocations: 0 / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.145, allocations: 55.89 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1454, allocations: 12 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.1477, allocations: 1.578 MB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.148, allocations: 0.6924 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.1481, allocations: 20.95 kB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1482, allocations: 31.42 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.384e-06/0.1482, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.1778, allocations: 3.437 MB / 494.4 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.33, allocations: 5.078 kB / 494.4 MB, free: 6.699 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1)