Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001251/0.001251, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2463/0.2463, allocations: 46.12 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.002228/0.002228, allocations: 78.36 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1429, allocations: 62.46 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004159/0.1471, allocations: 1.643 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1485, allocations: 0.5571 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1486, allocations: 0 / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006786/0.1494, allocations: 451.1 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.1499, allocations: 299.3 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.1504, allocations: 126.3 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.1507, allocations: 163.6 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1508, allocations: 23.97 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.151, allocations: 107.8 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.1513, allocations: 211.6 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1513, allocations: 0 / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1514, allocations: 35.98 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1515, allocations: 79.69 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.1517, allocations: 106.9 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.152, allocations: 267.2 kB / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.152, allocations: 0 / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.152, allocations: 0 / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.152, allocations: 0 / 484.3 MB, free: 1.059 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.0008854/0.1529, allocations: 0.6375 MB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.153, allocations: 8.031 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.153, allocations: 38.75 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.1531, allocations: 40.38 kB / 485 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1535, allocations: 304.1 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1535, allocations: 4.375 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1535, allocations: 4.375 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1537, allocations: 57.56 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1537, allocations: 0 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1537, allocations: 0 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1537, allocations: 4 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1539, allocations: 23.97 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.1544, allocations: 400.6 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.1547, allocations: 54.42 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.1547, allocations: 16.86 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1548, allocations: 3.938 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1548, allocations: 30.56 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1548, allocations: 4 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006759/0.1555, allocations: 224 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1556, allocations: 55.41 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009805/0.1565, allocations: 0.8737 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1566, allocations: 29.7 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1568, allocations: 224 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1568, allocations: 23.73 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1569, allocations: 17.72 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.1571, allocations: 362.8 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.1572, allocations: 19.98 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.1573, allocations: 15.98 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1574, allocations: 48.77 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1574, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002357/0.1577, allocations: 121.3 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1577, allocations: 4 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1577, allocations: 8.062 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1577, allocations: 0 / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1578, allocations: 11.98 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1578, allocations: 3.984 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.1579, allocations: 7.938 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1579, allocations: 4 kB / 487.9 MB, free: 13.18 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.0002215/0.1582, allocations: 221.7 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.1582, allocations: 35.53 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.1586, allocations: 137.2 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1586, allocations: 288 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1586, allocations: 0 / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1586, allocations: 7.922 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.1593, allocations: 466.3 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1593, allocations: 0 / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.1594, allocations: 11.98 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1594, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1594, allocations: 7.938 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1594, allocations: 0 / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1594, allocations: 3.938 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1597, allocations: 215.1 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1598, allocations: 116.5 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1599, allocations: 3.938 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.16, allocations: 4 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.16, allocations: 12.06 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.16, allocations: 7.984 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007068/0.1607, allocations: 0.655 MB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1608, allocations: 4 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.1611, allocations: 31.98 kB / 489.8 MB, free: 11.16 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.002045/0.1631, allocations: 1.033 MB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1634, allocations: 55.91 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1634, allocations: 0 / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-05/0.1635, allocations: 27.97 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1639, allocations: 20.38 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1682, allocations: 3.28 MB / 494.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1687, allocations: 0.8259 MB / 495 MB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.04e-05/0.1688, allocations: 8 kB / 495.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.1689, allocations: 103.4 kB / 495.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of SimCode: time 9.51e-07/0.169, allocations: 0 / 495.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.2007, allocations: 5.926 MB / 0.4893 GB, free: 15.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.107, allocations: 14.78 kB / 0.4893 GB, free: 15.93 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1)