Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 103.7 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.001577/0.001577, allocations: 212.6 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.424/1.424, 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.2324/0.2324, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.0022/0.0022, allocations: 78.73 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1422, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003455/0.1457, allocations: 1.592 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1468, allocations: 0.5299 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1469, allocations: 3.938 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1471, allocations: 27.8 kB / 482.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.1474, allocations: 75.67 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1477, allocations: 87.7 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1479, allocations: 71.83 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.148, allocations: 8 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.1481, allocations: 27.86 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.1481, allocations: 19.86 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1482, allocations: 4 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.1483, allocations: 31.97 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.667e-05/0.1483, allocations: 8 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1484, allocations: 23.81 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1485, allocations: 88.05 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1485, allocations: 0 / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1486, allocations: 7.875 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1486, allocations: 0 / 482.8 MB, free: 2.531 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005221/0.1491, allocations: 383.1 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1491, allocations: 12.03 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.1492, allocations: 30.75 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1492, allocations: 8.844 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1495, allocations: 188.2 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1495, allocations: 8.375 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1495, allocations: 4.375 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1497, allocations: 45.62 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1497, allocations: 3.938 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1497, allocations: 0 / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1497, allocations: 4 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.1498, allocations: 23.97 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1502, allocations: 272.9 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1504, allocations: 50.48 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.1505, allocations: 8.859 kB / 483.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1505, allocations: 4 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1505, allocations: 30.56 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1505, allocations: 0 / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005827/0.1511, allocations: 153.3 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.1512, allocations: 55.41 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1514, allocations: 148.2 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1514, allocations: 25.7 kB / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.1515, allocations: 104.1 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1515, allocations: 7.812 kB / 484.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1515, allocations: 25.7 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1517, allocations: 322.8 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1518, allocations: 15.98 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.1518, allocations: 15.98 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.152, allocations: 52.77 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.152, allocations: 0 / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1522, allocations: 89.75 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1522, allocations: 6.5 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1522, allocations: 4 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1522, allocations: 0 / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.1523, allocations: 12 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1523, allocations: 0 / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.1524, allocations: 15.92 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1524, allocations: 3.938 kB / 484.9 MB, free: 216 kB / 350.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 9.839e-05/0.1525, allocations: 117.8 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.1525, allocations: 7.906 kB / 485 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.1528, allocations: 97.83 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1528, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1528, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1528, allocations: 0 / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.1532, allocations: 350.4 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1533, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.1533, allocations: 19.92 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1533, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1533, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1534, allocations: 3.938 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1534, allocations: 0 / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1536, allocations: 179.4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.1537, allocations: 81.11 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1537, allocations: 0 / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.1538, allocations: 16.11 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.1538, allocations: 0 / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1538, allocations: 8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.1539, allocations: 121.8 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1539, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1542, allocations: 19.91 kB / 485.9 MB, free: 15.11 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.001864/0.156, allocations: 1.005 MB / 486.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1562, allocations: 47.97 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1562, allocations: 3.938 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.1563, allocations: 23.98 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1567, allocations: 19.36 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1583, allocations: 1.427 MB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1587, allocations: 0.6962 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.001e-05/0.1587, allocations: 12.05 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.1588, allocations: 31.61 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1588, allocations: 4 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1831, allocations: 2.463 MB / 491.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.162, allocations: 9 kB / 491.6 MB, free: 9.445 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1)