Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001229/0.001229, allocations: 104.4 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.001688/0.001688, 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.512/1.512, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2324/0.2324, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002733/0.002733, allocations: 76.39 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.14, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003807/0.1438, allocations: 1.618 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.145, allocations: 0.5377 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1451, allocations: 0 / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.1457, allocations: 447.2 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.1463, allocations: 299.2 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1467, allocations: 123 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.147, allocations: 159.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.1471, allocations: 20.12 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.1472, allocations: 107.7 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1475, allocations: 207.6 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1475, allocations: 4 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.1476, allocations: 23.98 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.1477, allocations: 87.67 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.1478, allocations: 103 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1481, allocations: 247 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1481, allocations: 0 / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1481, allocations: 0 / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1481, allocations: 0 / 484.1 MB, free: 1.164 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.0007973/0.1489, allocations: 0.6338 MB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.149, allocations: 12.03 kB / 484.8 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.149, allocations: 34.75 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1491, allocations: 44.38 kB / 484.9 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1495, allocations: 300.1 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1495, allocations: 384 / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1495, allocations: 8.125 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1497, allocations: 45.62 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1497, allocations: 0 / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1497, allocations: 4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.1497, allocations: 4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.1498, allocations: 19.98 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.1504, allocations: 376.8 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.562e-05/0.1505, allocations: 38.5 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.1505, allocations: 16.86 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1506, allocations: 3.984 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1506, allocations: 34.56 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.1506, allocations: 0 / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002915/0.1509, allocations: 101.1 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.151, allocations: 51.41 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.152, allocations: 0.8699 MB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.152, allocations: 33.64 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.1522, allocations: 228 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1523, allocations: 4.031 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.1523, allocations: 17.72 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.1526, allocations: 366.7 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.1526, allocations: 8 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.1527, allocations: 11.98 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.1527, allocations: 24.84 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1528, allocations: 0 / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001586/0.1529, allocations: 93.19 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1529, allocations: 7.938 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.153, allocations: 0 / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.153, allocations: 0 / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.153, allocations: 7.938 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.153, allocations: 7.984 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1531, allocations: 0 / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1531, allocations: 3.938 kB / 487.5 MB, free: 13.55 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.0002427/0.1534, allocations: 209.8 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.1534, allocations: 43.44 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.1536, allocations: 108.7 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1537, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1537, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1537, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.154, allocations: 289.5 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1541, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.1541, allocations: 7.984 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1541, allocations: 4.031 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1541, allocations: 3.938 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1541, allocations: 0 / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1541, allocations: 3.938 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1544, allocations: 194.9 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1545, allocations: 108.6 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1545, allocations: 0 / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.1546, allocations: 8.031 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.1546, allocations: 4 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1547, allocations: 0 / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006907/0.1554, allocations: 0.6628 MB / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1554, allocations: 0 / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1556, allocations: 16 kB / 489.2 MB, free: 11.81 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.001732/0.1573, allocations: 0.968 MB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.1575, allocations: 23.98 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1575, allocations: 0 / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.1576, allocations: 8 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.1581, allocations: 31.53 kB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.1621, allocations: 3.186 MB / 493.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.1626, allocations: 0.8221 MB / 494.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.1626, allocations: 8.062 kB / 494.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1628, allocations: 111.4 kB / 494.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1628, allocations: 0 / 494.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.1927, allocations: 5.622 MB / 499.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.114, allocations: 4.172 kB / 499.9 MB, free: 1.07 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1)