Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 104.4 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.001457/0.001457, 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.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2427/0.2427, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002272/0.002272, allocations: 76.69 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003508/0.1445, allocations: 1.647 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1457, allocations: 0.5454 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.1458, allocations: 0 / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1461, allocations: 39.83 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1464, allocations: 79.61 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.1468, allocations: 99.69 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.147, allocations: 87.77 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1472, allocations: 20.27 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.1473, allocations: 35.86 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1474, allocations: 39.83 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1474, allocations: 4 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1475, allocations: 47.98 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1476, allocations: 19.86 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.1477, allocations: 39.73 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1479, allocations: 111.6 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1479, allocations: 3.984 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1479, allocations: 0 / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1479, allocations: 3.938 kB / 483 MB, free: 2.281 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005268/0.1484, allocations: 399.1 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1485, allocations: 8.031 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.1485, allocations: 42.73 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1486, allocations: 8.844 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1488, allocations: 202.3 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1488, allocations: 384 / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.1488, allocations: 8.375 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.149, allocations: 77.48 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.149, allocations: 0 / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1491, allocations: 0 / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1491, allocations: 4 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1492, allocations: 39.95 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1497, allocations: 320.7 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1498, allocations: 66.48 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.1499, allocations: 24.84 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1499, allocations: 0 / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.15, allocations: 34.56 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.001e-06/0.15, allocations: 0 / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001103/0.1511, allocations: 309.5 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1511, allocations: 55.41 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1513, allocations: 164.8 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1514, allocations: 29.7 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1515, allocations: 99.98 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.1515, allocations: 43.45 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.1516, allocations: 25.81 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1518, allocations: 330.8 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.1519, allocations: 31.98 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.852e-05/0.152, allocations: 42.72 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1522, allocations: 88.83 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1522, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002681/0.1525, allocations: 141.4 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1525, allocations: 11.94 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1525, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1525, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1527, allocations: 27.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1527, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1527, allocations: 11.92 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1527, allocations: 8 kB / 485.6 MB, free: 15.45 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.0001158/0.1529, allocations: 117.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.1529, allocations: 15.84 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.1533, allocations: 165.9 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1533, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.1533, allocations: 3.984 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1533, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.154, allocations: 475.1 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.154, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.1541, allocations: 27.92 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1541, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1541, allocations: 4 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1541, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1541, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.1545, allocations: 240.1 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.1545, allocations: 85.02 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1546, allocations: 8 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1546, allocations: 7.938 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1547, allocations: 15.98 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.1547, allocations: 4 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1548, allocations: 130.6 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1549, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1551, allocations: 31.98 kB / 486.9 MB, free: 14.04 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.002154/0.1573, allocations: 1.113 MB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.1576, allocations: 95.88 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1576, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.1577, allocations: 52.03 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1581, allocations: 27.88 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1602, allocations: 1.665 MB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1606, allocations: 0.7118 MB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.1607, allocations: 16.55 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.1607, allocations: 39.42 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1607, allocations: 0 / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.1835, allocations: 3.111 MB / 493.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.034, allocations: 11.55 kB / 493.8 MB, free: 7.293 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29_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_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1)