Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 104.4 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.002689/0.00269, 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.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2234/0.2234, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.003881/0.003882, allocations: 79.58 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1433, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003276/0.1466, allocations: 1.669 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1484, allocations: 1.167 MB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.1485, allocations: 0 / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1488, allocations: 27.84 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1491, allocations: 87.56 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.1495, allocations: 138.5 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1497, allocations: 63.84 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1498, allocations: 15.98 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.1499, allocations: 35.84 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1501, allocations: 41.89 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1501, allocations: 4 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1504, allocations: 99.94 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.1504, allocations: 15.92 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.1505, allocations: 35.8 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1508, allocations: 147.9 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1508, allocations: 3.938 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1508, allocations: 0 / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1508, allocations: 0 / 483.7 MB, free: 1.574 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.0006487/0.1515, allocations: 415.2 kB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1515, allocations: 12.03 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1516, allocations: 42.69 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1517, allocations: 8.844 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1519, allocations: 200 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1519, allocations: 4.375 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.152, allocations: 4.375 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1522, allocations: 83.3 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1522, allocations: 0 / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1522, allocations: 0 / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1522, allocations: 4 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1524, allocations: 31.97 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.1528, allocations: 296.8 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1529, allocations: 46.56 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.153, allocations: 20.94 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.153, allocations: 4 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1531, allocations: 34.56 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1531, allocations: 0 / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008138/0.1539, allocations: 217.2 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.154, allocations: 77.11 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.1541, allocations: 160.2 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1542, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1543, allocations: 100.1 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.1543, allocations: 19.72 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1544, allocations: 25.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1545, allocations: 322.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1546, allocations: 23.98 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1547, allocations: 53.67 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.155, allocations: 72.84 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.155, allocations: 4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002941/0.1553, allocations: 109.5 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1553, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1553, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1553, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1555, allocations: 27.92 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1555, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.1556, allocations: 23.86 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.1556, allocations: 4 kB / 486.2 MB, free: 14.9 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 (7): * Single equations (assignments): 7 * 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.0001013/0.1557, allocations: 125.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1558, allocations: 12.12 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.1561, allocations: 126.3 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1561, allocations: 3.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1561, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1562, allocations: 3.938 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.1567, allocations: 402.8 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1568, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.1568, allocations: 23.98 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1569, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1569, allocations: 7.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.1569, allocations: 7.938 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1569, allocations: 0 / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.1572, allocations: 207.4 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1573, allocations: 85.02 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1573, allocations: 3.938 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1574, allocations: 15.98 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1575, allocations: 7.984 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1575, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1576, allocations: 117.7 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1576, allocations: 0 / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.1579, allocations: 36 kB / 487.3 MB, free: 13.63 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 (7): * Single equations (assignments): 7 * 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.002258/0.1602, allocations: 1.124 MB / 488.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.1605, allocations: 91.91 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1605, allocations: 3.938 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1607, allocations: 47.95 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.161, allocations: 15.94 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1632, allocations: 1.578 MB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1635, allocations: 0.6963 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.848e-05/0.1636, allocations: 16.66 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1637, allocations: 31.42 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1637, allocations: 0 / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1908, allocations: 3.432 MB / 494.4 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/8.521, allocations: 12.69 kB / 494.4 MB, free: 6.691 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1)