Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001648, 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.002127/0.002127, 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.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2249/0.2249, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.00322/0.00322, allocations: 86.28 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1595, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.004061/0.1637, allocations: 1.595 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.165, allocations: 0.526 MB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.31e-05/0.1651, allocations: 0 / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1654, allocations: 35.73 kB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.1657, allocations: 83.67 kB / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.166, allocations: 87.08 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1662, allocations: 67.83 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1663, allocations: 19.98 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.1664, allocations: 19.88 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.1665, allocations: 19.86 kB / 482.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1665, allocations: 4 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.1666, allocations: 31.97 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1666, allocations: 12 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.1667, allocations: 27.73 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1669, allocations: 84.06 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1669, allocations: 0 / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1669, allocations: 0 / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1669, allocations: 4 kB / 482.8 MB, free: 2.492 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005278/0.1674, allocations: 398.9 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1675, allocations: 12.03 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.1675, allocations: 34.73 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1676, allocations: 8.844 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1678, allocations: 191.7 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1678, allocations: 12.12 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.1678, allocations: 3.984 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.168, allocations: 53.62 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.168, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.168, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.168, allocations: 0 / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.1681, allocations: 23.92 kB / 483.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1685, allocations: 276.9 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1688, allocations: 46.55 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.1689, allocations: 12.86 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1689, allocations: 7.922 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1689, allocations: 38.56 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1689, allocations: 0 / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005973/0.1695, allocations: 145.4 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1696, allocations: 51.41 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1698, allocations: 177.5 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1698, allocations: 25.7 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1699, allocations: 108 kB / 484.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.1699, allocations: 11.75 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.17, allocations: 21.7 kB / 484.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1701, allocations: 322.8 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.1702, allocations: 15.98 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.1703, allocations: 24.05 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1704, allocations: 44.83 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1704, allocations: 0 / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1706, allocations: 85.52 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1706, allocations: 11.98 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1706, allocations: 0 / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1707, allocations: 3.938 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1707, allocations: 12 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1707, allocations: 3.938 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.1708, allocations: 7.984 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1708, allocations: 0 / 485 MB, free: 116 kB / 350.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 (5): * Single equations (assignments): 5 * 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.0001146/0.1709, allocations: 117.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.171, allocations: 7.906 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1712, allocations: 101.9 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1712, allocations: 0 / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1712, allocations: 3.938 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1713, allocations: 288 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.1717, allocations: 346.6 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1717, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.1718, allocations: 12.31 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.1718, allocations: 7.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1718, allocations: 11.91 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1718, allocations: 7.938 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1718, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1721, allocations: 175.3 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1721, allocations: 89.02 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1722, allocations: 3.938 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.1722, allocations: 7.984 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1723, allocations: 4 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1723, allocations: 4 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.1724, allocations: 131.2 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1724, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1727, allocations: 16 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001956/0.1747, allocations: 1.013 MB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1749, allocations: 47.97 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1749, allocations: 0 / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.175, allocations: 27.92 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1754, allocations: 22.97 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1772, allocations: 1.486 MB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1775, allocations: 0.6963 MB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.608e-05/0.1776, allocations: 8.062 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.1777, allocations: 31.36 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1777, allocations: 0 / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.2046, allocations: 2.583 MB / 491.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.211, allocations: 9.078 kB / 491.9 MB, free: 9.145 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)