Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007285/0.0007283, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008658/0.0008658, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.3 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 45.92 MB / 344.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002357, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1417, allocations: 63.47 MB / 481.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.002786/0.1446, allocations: 1.354 MB / 483 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.1468, allocations: 1.097 MB / 484.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.1469, allocations: 0 / 484.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1472, allocations: 27.91 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.1475, allocations: 71.75 kB / 484.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1481, allocations: 151.2 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1483, allocations: 71.75 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1484, allocations: 19.98 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.1485, allocations: 23.86 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1487, allocations: 31.84 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1487, allocations: 7.938 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1489, allocations: 83.88 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.149, allocations: 15.92 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.149, allocations: 29.7 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1493, allocations: 112.1 kB / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1493, allocations: 4 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1493, allocations: 4 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1493, allocations: 0 / 484.7 MB, free: 2.117 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.000674/0.15, allocations: 407 kB / 485.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1501, allocations: 12.03 kB / 485.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.1501, allocations: 34.55 kB / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.1502, allocations: 11.81 kB / 485.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1505, allocations: 197.7 kB / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1505, allocations: 4 kB / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1505, allocations: 4 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1508, allocations: 83.33 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1508, allocations: 0 / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1508, allocations: 0 / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1508, allocations: 0 / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.1511, allocations: 55.95 kB / 485.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.1517, allocations: 316.7 kB / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1519, allocations: 54.5 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.152, allocations: 24.94 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1521, allocations: 4 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.1521, allocations: 46.55 kB / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/0.1521, allocations: 3.984 kB / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008468/0.153, allocations: 253.2 kB / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1531, allocations: 89.09 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1533, allocations: 145.8 kB / 486.4 MB, free: 200 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1533, allocations: 29.7 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.1534, allocations: 108 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.1534, allocations: 11.72 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.1535, allocations: 4 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1536, allocations: 322.8 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1539, allocations: 43.97 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.1541, allocations: 65.61 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1543, allocations: 60.06 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1544, allocations: 0 / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000446/0.1548, allocations: 149.4 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1549, allocations: 4 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1549, allocations: 0 / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1549, allocations: 4 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.1551, allocations: 19.98 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1551, allocations: 0 / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.1552, allocations: 19.98 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1552, allocations: 4 kB / 487.3 MB, free: 15.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.1553, allocations: 121.8 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1554, allocations: 11.86 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.1557, allocations: 154.3 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1558, allocations: 4 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1558, allocations: 0 / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1558, allocations: 0 / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.1566, allocations: 442.4 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1567, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1568, allocations: 23.98 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.1569, allocations: 4 kB / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1569, allocations: 0 / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1569, allocations: 0 / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1569, allocations: 0 / 488 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.1574, allocations: 239.8 kB / 488.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.064e-05/0.1575, allocations: 92.95 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1576, allocations: 4 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1578, allocations: 15.98 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1578, allocations: 7.938 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1579, allocations: 11.98 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.158, allocations: 113.7 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.158, allocations: 0 / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.1585, allocations: 47.92 kB / 488.5 MB, free: 13.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002196/0.1607, allocations: 1.156 MB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.1611, allocations: 103.9 kB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1612, allocations: 4 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1614, allocations: 55.95 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1619, allocations: 12 kB / 489.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1636, allocations: 0.7342 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.164, allocations: 0.6965 MB / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1641, allocations: 28.39 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.1642, allocations: 35.45 kB / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1642, allocations: 0 / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1835, allocations: 3.095 MB / 494.4 MB, free: 8.234 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.1838, allocations: 225.5 kB / 494.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.129, allocations: 7.938 kB / 494.7 MB, free: 7.984 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)