Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, 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.001316/0.001316, 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.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2401/0.2401, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002258/0.002258, allocations: 83.61 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003459/0.141, allocations: 1.678 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1421, allocations: 0.5571 MB / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.1422, allocations: 0 / 482.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.1429, allocations: 459.1 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.1435, allocations: 291.3 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1439, allocations: 134.8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.1442, allocations: 179.6 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1443, allocations: 20.22 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1444, allocations: 115.7 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.1447, allocations: 219.5 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.1447, allocations: 4 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.1449, allocations: 51.97 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.145, allocations: 87.69 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.1451, allocations: 102.9 kB / 484.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.1456, allocations: 283.2 kB / 484.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1456, allocations: 4 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1456, allocations: 3.938 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1456, allocations: 0 / 484.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008805/0.1465, allocations: 0.6608 MB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1466, allocations: 11.97 kB / 485 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.1466, allocations: 38.75 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.1467, allocations: 40.38 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1471, allocations: 300.1 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.1471, allocations: 4.375 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1471, allocations: 384 / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.1473, allocations: 69.61 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1473, allocations: 7.938 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1474, allocations: 0 / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1474, allocations: 0 / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1475, allocations: 43.94 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.1481, allocations: 408.6 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1484, allocations: 62.58 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.1485, allocations: 24.97 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1485, allocations: 0 / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1485, allocations: 34.56 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1486, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001703/0.1503, allocations: 471.5 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1503, allocations: 59.28 kB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009691/0.1513, allocations: 0.8698 MB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1513, allocations: 33.7 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1516, allocations: 216.1 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.1516, allocations: 35.45 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.1517, allocations: 29.72 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.1519, allocations: 358.8 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1521, allocations: 43.97 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1522, allocations: 44.02 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1525, allocations: 104.8 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1525, allocations: 0 / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003803/0.1529, allocations: 177 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1529, allocations: 4 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1529, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1529, allocations: 3.938 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1531, allocations: 31.91 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1531, allocations: 4 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.1532, allocations: 12 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1532, allocations: 8.547 kB / 488.5 MB, free: 12.55 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 (11): * Single equations (assignments): 11 * 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.0002311/0.1534, allocations: 209.8 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.1535, allocations: 43.44 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.154, allocations: 217.3 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.154, allocations: 3.938 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1541, allocations: 4 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1541, allocations: 4 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.1549, allocations: 0.5701 MB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.155, allocations: 0 / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1551, allocations: 27.98 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1551, allocations: 0 / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1551, allocations: 7.984 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1551, allocations: 0 / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1551, allocations: 4 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.1556, allocations: 288.6 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1557, allocations: 108.5 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.1558, allocations: 7.938 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1559, allocations: 11.98 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.156, allocations: 15.98 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.156, allocations: 0 / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007857/0.1568, allocations: 0.6589 MB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1568, allocations: 0 / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1571, allocations: 32 kB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002491/0.1596, allocations: 1.172 MB / 491.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.1601, allocations: 111.9 kB / 492 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1601, allocations: 0 / 492 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1602, allocations: 55.91 kB / 492 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.1608, allocations: 35.67 kB / 492.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.1654, allocations: 3.481 MB / 495.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.1662, allocations: 0.8338 MB / 496.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.778e-05/0.1663, allocations: 16.55 kB / 496.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.1664, allocations: 111.4 kB / 496.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1664, allocations: 0 / 496.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.1986, allocations: 6.424 MB / 0.4912 GB, free: 14.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.201, allocations: 8.266 kB / 0.4912 GB, free: 14.08 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1)