Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 103.9 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.001325/0.001326, allocations: 210.4 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.461/1.461, 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.2237/0.2237, 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.002341/0.002341, allocations: 80.39 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1381, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003958/0.1421, allocations: 2.047 MB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1443, allocations: 1.118 MB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1444, allocations: 7.938 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.145, allocations: 267.1 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005925/0.1456, allocations: 255.1 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1472, allocations: 0.6589 MB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.1477, allocations: 339.2 kB / 484.9 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.1479, allocations: 80.97 kB / 485 MB, free: 348 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1481, allocations: 147.4 kB / 485.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1484, allocations: 211.3 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.1484, allocations: 12 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1486, allocations: 75.97 kB / 485.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1488, allocations: 99.67 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1489, allocations: 130.9 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.1493, allocations: 342.6 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1493, allocations: 4 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.768e-06/0.1493, allocations: 0 / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1494, allocations: 3.938 kB / 486 MB, free: 15.33 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.0009583/0.1503, allocations: 0.6805 MB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1504, allocations: 23.95 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.506e-05/0.1505, allocations: 38.75 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.1506, allocations: 48.38 kB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.151, allocations: 349.9 kB / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.151, allocations: 4.375 kB / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1511, allocations: 12.38 kB / 487.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1514, allocations: 125.6 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1514, allocations: 0 / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1514, allocations: 4 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1514, allocations: 7.984 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1516, allocations: 99.88 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.1524, allocations: 0.5158 MB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1526, allocations: 110.5 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.1527, allocations: 36.84 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1528, allocations: 7.984 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1528, allocations: 42.48 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1528, allocations: 0 / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001062/0.1539, allocations: 458.3 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1539, allocations: 59.41 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.1546, allocations: 0.5957 MB / 489.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1546, allocations: 25.7 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1548, allocations: 216.3 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.1549, allocations: 63.17 kB / 489.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.155, allocations: 29.72 kB / 489.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1551, allocations: 358.8 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1553, allocations: 67.95 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1554, allocations: 67.95 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1557, allocations: 160.6 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1558, allocations: 0 / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004397/0.1562, allocations: 235.3 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1562, allocations: 4 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1562, allocations: 0 / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1563, allocations: 8 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1564, allocations: 27.98 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1564, allocations: 7.984 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.1565, allocations: 4 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1566, allocations: 8 kB / 490.4 MB, free: 10.65 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.0001985/0.1568, allocations: 189.6 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.1569, allocations: 47.38 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.1574, allocations: 285.7 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1574, allocations: 0 / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1575, allocations: 0 / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1575, allocations: 3.938 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.1585, allocations: 0.7072 MB / 491.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1585, allocations: 0 / 491.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1586, allocations: 35.92 kB / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1587, allocations: 0 / 491.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1587, allocations: 8 kB / 491.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.1587, allocations: 3.938 kB / 491.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1587, allocations: 0 / 491.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.1592, allocations: 338.8 kB / 492 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.1593, allocations: 116.6 kB / 492.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.1593, allocations: 4 kB / 492.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1595, allocations: 11.92 kB / 492.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1595, allocations: 15.92 kB / 492.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1595, allocations: 8 kB / 492.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005208/0.1601, allocations: 446.8 kB / 492.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1601, allocations: 0 / 492.6 MB, free: 8.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.1604, allocations: 59.91 kB / 492.7 MB, free: 8.293 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.003562/0.164, allocations: 1.448 MB / 494.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.1645, allocations: 179.7 kB / 494.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1645, allocations: 0 / 494.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.1646, allocations: 89.92 kB / 494.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.1653, allocations: 85.06 kB / 494.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.1698, allocations: 3.385 MB / 497.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.1703, allocations: 0.826 MB / 498.7 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.1704, allocations: 66.2 kB / 498.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.1706, allocations: 139.4 kB / 498.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1706, allocations: 0 / 498.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03286/0.2035, allocations: 7.733 MB / 0.4947 GB, free: 10.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.588, allocations: 8.672 kB / 0.4947 GB, free: 10.59 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1)