Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001657/0.001657, 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.001988/0.001988, 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.491/1.491, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2411/0.2411, allocations: 46.11 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.003119/0.003119, allocations: 80.38 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1484, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003462/0.1519, allocations: 2.039 MB / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.154, allocations: 1.025 MB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1541, allocations: 4 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.1546, allocations: 255.2 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.1551, allocations: 267 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.156, allocations: 488 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1564, allocations: 319.2 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1566, allocations: 68.92 kB / 484.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1567, allocations: 139.5 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1571, allocations: 207.2 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.1571, allocations: 8 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1573, allocations: 99.95 kB / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1574, allocations: 95.61 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1575, allocations: 134.9 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.1579, allocations: 342.7 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.158, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.158, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.158, allocations: 8 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008414/0.1588, allocations: 0.6767 MB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1589, allocations: 12.03 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1589, allocations: 38.75 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.159, allocations: 44.38 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1594, allocations: 342 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1594, allocations: 8.312 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1594, allocations: 12.38 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1597, allocations: 113.5 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1597, allocations: 3.984 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1597, allocations: 4 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1597, allocations: 4 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.1599, allocations: 75.83 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006553/0.1606, allocations: 0.5003 MB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1608, allocations: 90.55 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.1608, allocations: 32.84 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1609, allocations: 4 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1609, allocations: 42.44 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.173e-06/0.1609, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000948/0.1619, allocations: 402.3 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1619, allocations: 51.41 kB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/0.1626, allocations: 0.5878 MB / 488.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1627, allocations: 25.7 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.1628, allocations: 216.3 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.1629, allocations: 55.09 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.163, allocations: 37.72 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1631, allocations: 358.8 kB / 489.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1633, allocations: 47.97 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1634, allocations: 47.97 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.1636, allocations: 120.8 kB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1636, allocations: 0 / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003515/0.164, allocations: 214.8 kB / 489.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.164, allocations: 4 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.164, allocations: 0 / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1641, allocations: 0 / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1642, allocations: 31.98 kB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1642, allocations: 0 / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.1643, allocations: 15.98 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1643, allocations: 4 kB / 489.8 MB, free: 11.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 (17): * Single equations (assignments): 17 * 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.0001744/0.1645, allocations: 185.6 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.1646, allocations: 43.44 kB / 490.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.1651, allocations: 235.9 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1651, allocations: 4 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1651, allocations: 0 / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1651, allocations: 0 / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008493/0.166, allocations: 0.6503 MB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.166, allocations: 3.938 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1661, allocations: 35.98 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1661, allocations: 0 / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1661, allocations: 3.984 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1661, allocations: 11.94 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1661, allocations: 0 / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.1666, allocations: 305.1 kB / 491.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.1667, allocations: 112.6 kB / 491.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.1667, allocations: 7.984 kB / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1668, allocations: 11.94 kB / 491.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.1669, allocations: 15.98 kB / 491.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1669, allocations: 4 kB / 491.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004713/0.1674, allocations: 443.1 kB / 491.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1674, allocations: 0 / 491.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1677, allocations: 48 kB / 491.9 MB, free: 9.051 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 (17): * Single equations (assignments): 17 * 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.003348/0.171, allocations: 1.43 MB / 493.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000368/0.1714, allocations: 143.8 kB / 493.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1714, allocations: 0 / 493.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1716, allocations: 78.09 kB / 493.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.1722, allocations: 85.02 kB / 493.6 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.1765, allocations: 3.199 MB / 496.8 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.177, allocations: 0.8143 MB / 497.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1771, allocations: 46.25 kB / 497.7 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.1773, allocations: 131.4 kB / 497.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1773, allocations: 3.938 kB / 497.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.2085, allocations: 7.483 MB / 0.4935 GB, free: 11.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.678, allocations: 24.94 kB / 0.4935 GB, free: 11.86 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1)