Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, 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.002292/0.002293, 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.452/1.452, 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.2247/0.2247, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.00362/0.00362, allocations: 78.44 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1488, allocations: 62.44 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003468/0.1523, allocations: 1.678 MB / 481.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1533, allocations: 0.5649 MB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.1534, allocations: 0 / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.154, allocations: 451.1 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.1546, allocations: 295.3 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.155, allocations: 129.8 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1552, allocations: 175.6 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1553, allocations: 12 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1554, allocations: 123.7 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1557, allocations: 207.6 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1557, allocations: 4 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1558, allocations: 51.97 kB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.156, allocations: 79.69 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.1561, allocations: 107 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1564, allocations: 283.1 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1564, allocations: 0 / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1564, allocations: 4 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1564, allocations: 0 / 484.3 MB, free: 1.016 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.0007797/0.1572, allocations: 0.6531 MB / 485 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1573, allocations: 8.031 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1573, allocations: 42.73 kB / 485 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.1574, allocations: 44.38 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1577, allocations: 292.2 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1577, allocations: 4.375 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1578, allocations: 8.375 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1579, allocations: 65.55 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1579, allocations: 0 / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.158, allocations: 4 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.158, allocations: 0 / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1581, allocations: 27.97 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1586, allocations: 412.4 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1587, allocations: 46.56 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1587, allocations: 20.94 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1588, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1588, allocations: 34.59 kB / 486 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.1588, allocations: 3.984 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009383/0.1598, allocations: 307.8 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1598, allocations: 59.34 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008916/0.1607, allocations: 0.8699 MB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1607, allocations: 29.7 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1609, allocations: 228.1 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.161, allocations: 27.56 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.161, allocations: 21.7 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1612, allocations: 362.8 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.1613, allocations: 23.97 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.106e-05/0.1614, allocations: 27.98 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1615, allocations: 68.81 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1615, allocations: 0 / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000248/0.1618, allocations: 133 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1618, allocations: 8 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1618, allocations: 0 / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1618, allocations: 0 / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.162, allocations: 23.92 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.162, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.162, allocations: 7.984 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.162, allocations: 4 kB / 488.1 MB, free: 12.95 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.0001989/0.1623, allocations: 209.8 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.1623, allocations: 43.44 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.1627, allocations: 169.8 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1627, allocations: 3.938 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1627, allocations: 0 / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1627, allocations: 4 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.1634, allocations: 0.507 MB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1634, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1635, allocations: 15.98 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1635, allocations: 7.938 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1635, allocations: 4 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1635, allocations: 4.031 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1635, allocations: 3.938 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1638, allocations: 239.7 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.1639, allocations: 112.5 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.164, allocations: 7.984 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.1641, allocations: 11.94 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1641, allocations: 7.984 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1641, allocations: 0 / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006733/0.1648, allocations: 0.6589 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1648, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1651, allocations: 31.98 kB / 490.2 MB, free: 10.81 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.002154/0.1672, allocations: 1.119 MB / 491.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1675, allocations: 67.89 kB / 491.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1675, allocations: 3.938 kB / 491.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.1676, allocations: 35.98 kB / 491.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.168, allocations: 39.12 kB / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.172, allocations: 3.356 MB / 494.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1724, allocations: 0.8299 MB / 495.6 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.1725, allocations: 16.42 kB / 495.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1727, allocations: 107.4 kB / 495.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1727, allocations: 4 kB / 495.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2028, allocations: 6.244 MB / 0.4902 GB, free: 15.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.146, allocations: 5.078 kB / 0.4902 GB, free: 15.08 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1)