Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001954/0.001954, 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.002486/0.002486, 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.502/1.502, 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.2536/0.2536, 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.002207/0.002207, allocations: 76.27 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1667, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003856/0.1706, allocations: 1.666 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1718, allocations: 0.5728 MB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.1718, allocations: 4 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.1725, allocations: 459.1 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.1732, allocations: 295.3 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.1737, allocations: 173.7 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.174, allocations: 167.7 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1741, allocations: 23.98 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1743, allocations: 111.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1745, allocations: 215.5 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1745, allocations: 0 / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1747, allocations: 31.98 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1748, allocations: 87.62 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1749, allocations: 107 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1752, allocations: 263.2 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1752, allocations: 4 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1752, allocations: 0 / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1753, allocations: 0 / 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.0008015/0.1761, allocations: 0.6452 MB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1761, allocations: 12.03 kB / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.1762, allocations: 34.75 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.1762, allocations: 44.38 kB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1766, allocations: 300.1 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1766, allocations: 384 / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1766, allocations: 12.38 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1768, allocations: 53.61 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1768, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1768, allocations: 4 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1769, allocations: 0 / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.177, allocations: 35.91 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.1775, allocations: 404.6 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1778, allocations: 50.48 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.1779, allocations: 16.86 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1779, allocations: 4.062 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1779, allocations: 30.56 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.366e-06/0.1779, allocations: 3.984 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007129/0.1787, allocations: 243.9 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1787, allocations: 55.41 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009184/0.1796, allocations: 0.8815 MB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1797, allocations: 25.7 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1799, allocations: 220.1 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1799, allocations: 23.73 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.18, allocations: 17.72 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1802, allocations: 362.8 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.1802, allocations: 19.98 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.1803, allocations: 23.98 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1805, allocations: 48.83 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.1805, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002429/0.1807, allocations: 137 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1808, allocations: 6.656 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1808, allocations: 256 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1808, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/0.1809, allocations: 19.98 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1809, allocations: 0 / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.181, allocations: 7.938 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.181, allocations: 0 / 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.0002048/0.1812, allocations: 217.8 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.1813, allocations: 43.44 kB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.1816, allocations: 145.1 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1816, allocations: 0 / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1816, allocations: 0 / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1816, allocations: 3.938 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.1822, allocations: 478.5 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1822, allocations: 0 / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.1823, allocations: 11.94 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1823, allocations: 4 kB / 488.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1823, allocations: 3.938 kB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1823, allocations: 3.984 kB / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1823, allocations: 0 / 488.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.1826, allocations: 219 kB / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1828, allocations: 116.5 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.1828, allocations: 3.938 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.1829, allocations: 7.984 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1829, allocations: 4 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.1829, allocations: 192 / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006559/0.1836, allocations: 0.6667 MB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1836, allocations: 0 / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1839, allocations: 20 kB / 490 MB, free: 10.99 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.001989/0.1859, allocations: 1.058 MB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1861, allocations: 59.95 kB / 491.1 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1861, allocations: 3.938 kB / 491.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.265e-05/0.1862, allocations: 23.98 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.0004472/0.1867, allocations: 31.53 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.003962/0.1906, allocations: 3.316 MB / 494.5 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.1911, allocations: 0.826 MB / 495.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.64e-05/0.1912, allocations: 20.64 kB / 495.3 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.1914, allocations: 115.4 kB / 495.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1914, allocations: 0 / 495.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.2234, allocations: 5.987 MB / 0.4896 GB, free: 15.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/8.725, allocations: 5.141 kB / 0.4896 GB, free: 15.61 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1)