Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, 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.001294/0.001294, 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.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2455/0.2455, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.00218/0.00218, allocations: 78.61 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1485, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003477/0.152, allocations: 1.616 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1532, allocations: 0.5377 MB / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1533, allocations: 0 / 482.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1536, allocations: 107.7 kB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1539, allocations: 123.5 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1541, allocations: 87.77 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1543, allocations: 87.81 kB / 482.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1544, allocations: 23.97 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.1545, allocations: 39.84 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1546, allocations: 63.81 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1547, allocations: 8 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.1548, allocations: 47.91 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.1548, allocations: 23.92 kB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.362e-05/0.1549, allocations: 31.69 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1551, allocations: 115.9 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1551, allocations: 0 / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1551, allocations: 0 / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.1551, allocations: 0 / 483.1 MB, free: 2.234 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.0005123/0.1556, allocations: 434.8 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.1557, allocations: 8.031 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1557, allocations: 34.75 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1557, allocations: 12.84 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.156, allocations: 213.6 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-06/0.156, allocations: 384 / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.156, allocations: 8.375 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1561, allocations: 53.61 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1562, allocations: 0 / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.1562, allocations: 3.938 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1562, allocations: 8 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1563, allocations: 31.97 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1567, allocations: 304.7 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.1568, allocations: 42.56 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.1568, allocations: 20.94 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1569, allocations: 4 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1569, allocations: 30.56 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/0.1569, allocations: 3.984 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008015/0.1577, allocations: 232.9 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.1578, allocations: 55.41 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.158, allocations: 258.1 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1581, allocations: 25.7 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1582, allocations: 112.1 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1582, allocations: 31.56 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.1583, allocations: 21.7 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1584, allocations: 330.8 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.1585, allocations: 27.98 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.1586, allocations: 19.98 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1588, allocations: 64.81 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1588, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002211/0.159, allocations: 109.4 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.159, allocations: 4 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.159, allocations: 0 / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.159, allocations: 4 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.1591, allocations: 19.98 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1591, allocations: 3.938 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.1592, allocations: 4 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1592, allocations: 7.984 kB / 485.6 MB, free: 15.5 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 (8): * Single equations (assignments): 8 * 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.0001161/0.1593, allocations: 125.8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1594, allocations: 11.81 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1597, allocations: 130.9 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1597, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.1597, allocations: 7.922 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1597, allocations: 0 / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.1603, allocations: 407.3 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1603, allocations: 4.031 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.1604, allocations: 23.92 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1604, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1604, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1605, allocations: 8 kB / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1605, allocations: 0 / 486.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.1608, allocations: 220.6 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/0.1609, allocations: 88.95 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1609, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.161, allocations: 7.984 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.161, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.161, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.1612, allocations: 196.4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1612, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1615, allocations: 16 kB / 486.8 MB, free: 14.16 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 (8): * Single equations (assignments): 8 * 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.002214/0.1637, allocations: 1.095 MB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1639, allocations: 75.89 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1639, allocations: 0 / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.164, allocations: 31.98 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1644, allocations: 24.05 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1665, allocations: 1.73 MB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1669, allocations: 0.7156 MB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.678e-05/0.167, allocations: 12.97 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.1671, allocations: 39.42 kB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1671, allocations: 0 / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.1933, allocations: 3.205 MB / 493.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.21, allocations: 8.453 kB / 493.8 MB, free: 7.336 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1)