Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, 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.001774/0.001775, 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.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2362/0.2362, allocations: 46.1 MB / 344.2 MB, free: 11.53 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.002903/0.002903, allocations: 76.94 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1593, allocations: 62.46 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003398/0.1627, allocations: 1.671 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1638, allocations: 0.5805 MB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.1639, allocations: 4 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1642, allocations: 79.7 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1645, allocations: 103.6 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.165, allocations: 178.4 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1652, allocations: 91.8 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1653, allocations: 32.16 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.803e-05/0.1654, allocations: 35.84 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1655, allocations: 59.81 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1655, allocations: 4 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1656, allocations: 47.98 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.1657, allocations: 31.89 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.1658, allocations: 35.69 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.166, allocations: 127.8 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.166, allocations: 4 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.166, allocations: 0 / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.166, allocations: 0 / 483.3 MB, free: 2.012 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.0005843/0.1666, allocations: 426.9 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1666, allocations: 16.02 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1667, allocations: 34.75 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1667, allocations: 16.75 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.167, allocations: 200.1 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.167, allocations: 384 / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.167, allocations: 12.38 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1672, allocations: 77.47 kB / 484 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1672, allocations: 3.906 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1672, allocations: 0 / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1673, allocations: 4 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1674, allocations: 43.95 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.1679, allocations: 324.7 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1682, allocations: 58.55 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.1683, allocations: 28.95 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1683, allocations: 4 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1683, allocations: 38.56 kB / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1683, allocations: 0 / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001512/0.1699, allocations: 444.9 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.1699, allocations: 59.39 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.1702, allocations: 219.2 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1703, allocations: 25.7 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.1703, allocations: 108.1 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.1704, allocations: 39.45 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.1704, allocations: 29.7 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1706, allocations: 322.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.1708, allocations: 55.95 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1709, allocations: 51.97 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1712, allocations: 133 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1713, allocations: 0 / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003681/0.1716, allocations: 169.4 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1717, allocations: 8 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1717, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1717, allocations: 7.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1718, allocations: 27.97 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1719, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.1719, allocations: 7.984 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.172, allocations: 4 kB / 486.2 MB, free: 14.84 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.0001234/0.1721, allocations: 137.8 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.1722, allocations: 15.81 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.1726, allocations: 186.9 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1726, allocations: 7.938 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1726, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1727, allocations: 3.984 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.1734, allocations: 0.5077 MB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1735, allocations: 0 / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1736, allocations: 27.98 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1736, allocations: 4 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1736, allocations: 4.25 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.1736, allocations: 8 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1736, allocations: 3.938 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.1741, allocations: 272.9 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.1742, allocations: 100.9 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1742, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1743, allocations: 11.98 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1744, allocations: 8 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1744, allocations: 11.97 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1745, allocations: 168.3 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1745, allocations: 0 / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1748, allocations: 31.94 kB / 487.7 MB, free: 13.23 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.002299/0.1772, allocations: 1.149 MB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00037/0.1775, allocations: 139.8 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1776, allocations: 4 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1777, allocations: 63.89 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1781, allocations: 35.17 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1806, allocations: 1.968 MB / 491.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.181, allocations: 0.7197 MB / 491.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1811, allocations: 36.52 kB / 491.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1812, allocations: 39.42 kB / 491.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1812, allocations: 0 / 491.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.2058, allocations: 3.555 MB / 495.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.165, allocations: 13.53 kB / 495.4 MB, free: 5.613 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_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_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1)