Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001821/0.001821, allocations: 105.2 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.001949/0.001949, 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.508/1.508, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2311/0.2311, allocations: 46.12 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.002971/0.002971, allocations: 79.36 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1611, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00322/0.1644, allocations: 1.662 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1655, allocations: 0.5728 MB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.1655, allocations: 0 / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006236/0.1662, allocations: 455.1 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005147/0.1667, allocations: 299.3 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1672, allocations: 174 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.1675, allocations: 175.6 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1677, allocations: 15.98 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1678, allocations: 107.8 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1681, allocations: 215.6 kB / 483.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1682, allocations: 4 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1683, allocations: 31.98 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1684, allocations: 91.61 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1685, allocations: 99 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.1689, allocations: 267.2 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1689, allocations: 4 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1689, allocations: 0 / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1689, allocations: 4 kB / 484.3 MB, free: 0.9531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009148/0.1698, allocations: 0.6452 MB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1699, allocations: 8.031 kB / 485 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.17, allocations: 34.73 kB / 485 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.17, allocations: 44.38 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.1705, allocations: 304.1 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1705, allocations: 384 / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1705, allocations: 4.375 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1707, allocations: 57.61 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1707, allocations: 8 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1707, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1707, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1709, allocations: 35.91 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.1715, allocations: 396.6 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.1717, allocations: 50.56 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.1718, allocations: 20.88 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1718, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1719, allocations: 34.56 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.997e-06/0.1719, allocations: 3.984 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007265/0.1726, allocations: 247.8 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1727, allocations: 51.41 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009002/0.1736, allocations: 0.8776 MB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1736, allocations: 25.7 kB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1738, allocations: 228.1 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1738, allocations: 11.75 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.1739, allocations: 21.7 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.1742, allocations: 366.8 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.1742, allocations: 19.98 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-05/0.1743, allocations: 23.97 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1745, allocations: 57.02 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1745, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002743/0.1748, allocations: 129 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1748, allocations: 8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1748, allocations: 4 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1748, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.1749, allocations: 8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1749, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.175, allocations: 11.92 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.175, allocations: 4 kB / 488 MB, free: 13.02 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 (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.0002432/0.1753, allocations: 213.8 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.1753, allocations: 43.44 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.1757, allocations: 145.1 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1757, allocations: 0 / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1757, allocations: 0 / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.1757, allocations: 7.938 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.1764, allocations: 466.5 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1764, allocations: 4 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.1765, allocations: 15.98 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1765, allocations: 3.938 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.1765, allocations: 3.938 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1765, allocations: 0 / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1765, allocations: 0 / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.1769, allocations: 227.2 kB / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.177, allocations: 120.5 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1771, allocations: 7.938 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.1772, allocations: 4 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1772, allocations: 3.984 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1772, allocations: 4 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007299/0.178, allocations: 0.6589 MB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.178, allocations: 0 / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1782, allocations: 24 kB / 490 MB, free: 10.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.001882/0.1801, allocations: 1.055 MB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1803, allocations: 47.97 kB / 491.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1803, allocations: 0 / 491.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.1804, allocations: 39.91 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1808, allocations: 31.92 kB / 491.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.1845, allocations: 3.308 MB / 494.4 MB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.185, allocations: 0.8299 MB / 495.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.1851, allocations: 16.59 kB / 495.3 MB, free: 5.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1852, allocations: 115.4 kB / 495.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1852, allocations: 0 / 495.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.2115, allocations: 5.999 MB / 0.4896 GB, free: 15.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.643, allocations: 1.078 kB / 0.4896 GB, free: 15.61 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1)