Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002066/0.002066, allocations: 210.4 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, 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.2134/0.2134, allocations: 46.12 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.00242/0.00242, allocations: 76.58 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.136, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.004199/0.1403, allocations: 1.608 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1423, allocations: 1.16 MB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.1424, allocations: 0 / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1427, allocations: 23.86 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1429, allocations: 91.61 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1433, allocations: 114.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1435, allocations: 63.83 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1436, allocations: 11.98 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.1436, allocations: 35.8 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1438, allocations: 31.84 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1439, allocations: 4 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.1441, allocations: 99.86 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.1441, allocations: 12 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1442, allocations: 27.8 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.1444, allocations: 132 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1444, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1444, allocations: 0 / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1445, allocations: 4 kB / 483.6 MB, free: 1.711 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.0005828/0.145, allocations: 407.1 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1451, allocations: 8.031 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.1452, allocations: 30.75 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1452, allocations: 12.84 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1454, allocations: 196.2 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1455, allocations: 384 / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1455, allocations: 384 / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1456, allocations: 71.33 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1457, allocations: 0 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1457, allocations: 3.938 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1457, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1458, allocations: 27.98 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1462, allocations: 276.9 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.1465, allocations: 54.53 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1465, allocations: 16.8 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1466, allocations: 7.984 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1466, allocations: 38.64 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1466, allocations: 0 / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005642/0.1472, allocations: 149.2 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.1473, allocations: 81.09 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1474, allocations: 145.8 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1475, allocations: 33.7 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.1476, allocations: 88.14 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1476, allocations: 19.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.1476, allocations: 21.72 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1478, allocations: 322.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.1479, allocations: 19.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.148, allocations: 37.7 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1481, allocations: 52.81 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1481, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002098/0.1483, allocations: 89.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1484, allocations: 4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1484, allocations: 3.938 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1484, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.1485, allocations: 20.02 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1485, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.1485, allocations: 15.83 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1486, allocations: 0 / 485.8 MB, free: 15.25 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 8.7e-05/0.1486, allocations: 113.8 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1487, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.1489, allocations: 109.7 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.149, allocations: 4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.149, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.149, allocations: 3.938 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1495, allocations: 354.5 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1495, allocations: 4 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.1496, allocations: 15.92 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1496, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1496, allocations: 7.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1496, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1496, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1499, allocations: 175.4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.15, allocations: 85.11 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.15, allocations: 4.188 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.1501, allocations: 11.98 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1501, allocations: 7.938 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1501, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1503, allocations: 117.4 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1503, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1506, allocations: 36 kB / 486.9 MB, free: 14.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.002135/0.1527, allocations: 1.101 MB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1529, allocations: 63.83 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1529, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.153, allocations: 23.98 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1534, allocations: 24.59 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1552, allocations: 1.432 MB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.1555, allocations: 0.6924 MB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.1556, allocations: 24.16 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.1557, allocations: 27.42 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1557, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.1843, allocations: 3.175 MB / 493.4 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.2/8.385, allocations: 12.36 kB / 493.4 MB, free: 7.652 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1)