Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00204/0.00204, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002118, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2318/0.2318, allocations: 46.11 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.002336/0.002337, allocations: 81.92 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1394, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003352/0.1428, allocations: 1.651 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1439, allocations: 0.5572 MB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.144, allocations: 3.938 kB / 482.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.1443, allocations: 95.73 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.1447, allocations: 107.6 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.145, allocations: 123.7 kB / 482.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1452, allocations: 95.81 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1454, allocations: 32.19 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.1454, allocations: 43.84 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1455, allocations: 59.81 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1456, allocations: 8 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1457, allocations: 43.98 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.1458, allocations: 31.91 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.1458, allocations: 43.62 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1461, allocations: 127.5 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1461, allocations: 0 / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1461, allocations: 0 / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1461, allocations: 3.984 kB / 483.2 MB, free: 2.078 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005972/0.1467, allocations: 438.8 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1467, allocations: 8.031 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.1468, allocations: 34.75 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.1469, allocations: 16.84 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1471, allocations: 204 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1471, allocations: 4.375 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1471, allocations: 12.36 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1474, allocations: 77.55 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1474, allocations: 4 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1474, allocations: 4 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1474, allocations: 0 / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1475, allocations: 46.33 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.1481, allocations: 344.6 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1482, allocations: 78.48 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.1483, allocations: 20.84 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.1484, allocations: 7.938 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1484, allocations: 30.56 kB / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.056e-06/0.1484, allocations: 0 / 484.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001142/0.1495, allocations: 353.2 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1496, allocations: 55.41 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1499, allocations: 236.3 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1499, allocations: 33.69 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.15, allocations: 112 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1501, allocations: 51.3 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.1501, allocations: 25.72 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1503, allocations: 326.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1504, allocations: 43.97 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1505, allocations: 48.09 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.1508, allocations: 112.4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1508, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003113/0.1511, allocations: 157.4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1511, allocations: 6.656 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.1511, allocations: 4.172 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1511, allocations: 0 / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1513, allocations: 23.98 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1513, allocations: 7.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.1513, allocations: 3.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1514, allocations: 8 kB / 486.1 MB, free: 14.97 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 (13): * Single equations (assignments): 13 * 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.0001213/0.1515, allocations: 137.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.1515, allocations: 11.81 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.152, allocations: 191 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.152, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.152, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.152, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.1528, allocations: 0.499 MB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1528, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.652e-05/0.1529, allocations: 31.92 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1529, allocations: 0 / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1529, allocations: 4 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1529, allocations: 8.031 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1529, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1533, allocations: 248.3 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.1533, allocations: 96.91 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.1534, allocations: 4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.1535, allocations: 12 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1535, allocations: 11.92 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1535, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1537, allocations: 185.1 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1537, allocations: 3.938 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.154, allocations: 24 kB / 487.6 MB, free: 13.4 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 (13): * Single equations (assignments): 13 * 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.00227/0.1563, allocations: 1.13 MB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003215/0.1566, allocations: 119.9 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.1566, allocations: 3.938 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1567, allocations: 59.91 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1572, allocations: 30.5 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1596, allocations: 1.905 MB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.16, allocations: 0.7274 MB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.522e-05/0.1601, allocations: 24.53 kB / 491.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.1602, allocations: 47.41 kB / 491.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1602, allocations: 0 / 491.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.1854, allocations: 3.533 MB / 495.1 MB, free: 5.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.185, allocations: 9.047 kB / 495.1 MB, free: 5.918 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_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_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1)