Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2291/0.2291, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002543/0.002543, allocations: 76.53 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.153, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003083/0.1561, allocations: 1.619 MB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1573, allocations: 0.5572 MB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.1574, allocations: 0 / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.158, allocations: 455.1 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004699/0.1585, allocations: 291.3 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1589, allocations: 169.6 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1592, allocations: 167.7 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.1593, allocations: 15.94 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1594, allocations: 115.7 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.1597, allocations: 203.6 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1597, allocations: 4 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.1598, allocations: 24 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1599, allocations: 87.67 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.16, allocations: 102.9 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1604, allocations: 255 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1604, allocations: 0 / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1604, allocations: 0 / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1604, allocations: 0 / 484.2 MB, free: 1.074 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.0007889/0.1612, allocations: 0.6416 MB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1612, allocations: 12.03 kB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.1613, allocations: 30.75 kB / 484.9 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1613, allocations: 48.38 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1617, allocations: 296.2 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1617, allocations: 4.375 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.1617, allocations: 384 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1618, allocations: 57.55 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.1619, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1619, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1619, allocations: 4 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.552e-05/0.162, allocations: 23.97 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.1625, allocations: 400.7 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.1626, allocations: 34.5 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.1627, allocations: 12.92 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.1627, allocations: 0 / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1627, allocations: 38.55 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1627, allocations: 0 / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002409/0.163, allocations: 101.2 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.163, allocations: 51.41 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008836/0.1639, allocations: 0.8776 MB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1639, allocations: 25.7 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1641, allocations: 228 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.1642, allocations: 7.922 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.1642, allocations: 17.72 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003116/0.1646, allocations: 362.9 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.1646, allocations: 15.98 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.1647, allocations: 7.984 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.1648, allocations: 28.84 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1648, allocations: 0 / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001649/0.1649, allocations: 93.06 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.165, allocations: 12.09 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.165, allocations: 3.938 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.165, allocations: 3.938 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.1651, allocations: 11.98 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.1651, allocations: 0 / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1651, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.1651, allocations: 0 / 487.6 MB, free: 13.41 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 (2): * Single equations (assignments): 2 * 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.0002227/0.1654, allocations: 213.7 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.1654, allocations: 43.44 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1657, allocations: 108.8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1657, allocations: 3.984 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1657, allocations: 4 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1657, allocations: 0 / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.1662, allocations: 289.5 kB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1662, allocations: 0 / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.1662, allocations: 7.938 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1662, allocations: 0 / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1662, allocations: 0 / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1663, allocations: 12.02 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1663, allocations: 0 / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1665, allocations: 182.9 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1667, allocations: 120.5 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1667, allocations: 0 / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.1668, allocations: 4 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.1668, allocations: 4.031 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1668, allocations: 0 / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007741/0.1676, allocations: 0.6589 MB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1676, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1679, allocations: 23.94 kB / 489.3 MB, free: 11.66 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 (2): * Single equations (assignments): 2 * 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.001688/0.1696, allocations: 0.965 MB / 490.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001385/0.1697, allocations: 27.98 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1697, allocations: 4.062 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.1698, allocations: 15.92 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1702, allocations: 39.88 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.1738, allocations: 3.206 MB / 493.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.1743, allocations: 0.8319 MB / 494.4 MB, free: 6.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.1744, allocations: 16.05 kB / 494.4 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.1746, allocations: 111.4 kB / 494.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1746, allocations: 0 / 494.5 MB, free: 6.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.2053, allocations: 5.666 MB / 0.4885 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.515, allocations: 1.078 kB / 0.4885 GB, free: 0.8203 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1)