Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001712/0.001712, 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.002432/0.002432, 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.569/1.569, 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.2324/0.2324, 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.00239/0.00239, allocations: 84.28 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1362, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.005493/0.1417, allocations: 1.675 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.143, allocations: 0.5805 MB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.1431, allocations: 4 kB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1435, allocations: 79.72 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1439, allocations: 99.58 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006142/0.1445, allocations: 178.7 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.1448, allocations: 91.75 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.145, allocations: 24.2 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1451, allocations: 43.83 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1453, allocations: 55.83 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1453, allocations: 4 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1455, allocations: 51.97 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.1456, allocations: 23.92 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.1457, allocations: 39.69 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.146, allocations: 123.8 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.146, allocations: 0 / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.146, allocations: 0 / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1461, allocations: 4 kB / 483.3 MB, free: 2.066 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006962/0.1468, allocations: 438.9 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1468, allocations: 8.031 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.1469, allocations: 30.75 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1469, allocations: 20.75 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1472, allocations: 200 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1472, allocations: 8.359 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.1472, allocations: 4.375 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1474, allocations: 69.55 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1475, allocations: 7.906 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1475, allocations: 0 / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1475, allocations: 4 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1477, allocations: 43.95 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.1482, allocations: 328.7 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1485, allocations: 58.55 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.1486, allocations: 28.97 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1486, allocations: 3.984 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1486, allocations: 38.59 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1486, allocations: 3.938 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001611/0.1503, allocations: 441 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1503, allocations: 51.41 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1506, allocations: 215.2 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1506, allocations: 29.7 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.1507, allocations: 112.1 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1507, allocations: 31.47 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.1508, allocations: 33.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.151, allocations: 322.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1512, allocations: 51.95 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1514, allocations: 64 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1517, allocations: 132.7 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1517, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003759/0.1521, allocations: 161.4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1521, allocations: 8 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1521, allocations: 3.984 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1521, allocations: 3.938 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1522, allocations: 23.98 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1523, allocations: 4 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.1523, allocations: 11.98 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1524, allocations: 0 / 486.2 MB, free: 14.9 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 (11): * Single equations (assignments): 11 * 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.0001219/0.1525, allocations: 137.8 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1525, allocations: 11.81 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.153, allocations: 206.8 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.153, allocations: 3.938 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.153, allocations: 0 / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.153, allocations: 0 / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.1538, allocations: 0.5039 MB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.1538, allocations: 4 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.154, allocations: 31.92 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.154, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.154, allocations: 4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.154, allocations: 3.984 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.154, allocations: 0 / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.1544, allocations: 276.9 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.1545, allocations: 92.91 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1545, allocations: 8 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1546, allocations: 8.172 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.1547, allocations: 23.92 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1547, allocations: 4 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1549, allocations: 168.3 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1552, allocations: 31.98 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002305/0.1575, allocations: 1.155 MB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.1579, allocations: 135.8 kB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1579, allocations: 3.938 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.158, allocations: 67.89 kB / 489.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1584, allocations: 22.17 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.161, allocations: 1.969 MB / 491.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1614, allocations: 0.7238 MB / 491.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.986e-05/0.1615, allocations: 28.52 kB / 491.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.1616, allocations: 47.34 kB / 491.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1616, allocations: 0 / 491.8 MB, free: 9.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.1901, allocations: 3.547 MB / 495.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.984/8.174, allocations: 9.016 kB / 495.4 MB, free: 5.676 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1)