Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, 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.001368/0.001368, 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.514/1.514, 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.2476/0.2476, 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.002171/0.002171, allocations: 83.52 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1243, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003385/0.1277, allocations: 2.034 MB / 482.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1297, allocations: 1.243 MB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-05/0.1298, allocations: 4 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1301, allocations: 51.52 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.1306, allocations: 203.2 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/0.1314, allocations: 439.2 kB / 484.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1318, allocations: 291.2 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.1319, allocations: 56.98 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.1322, allocations: 139.4 kB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1324, allocations: 183.3 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1324, allocations: 12 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1326, allocations: 67.98 kB / 484.9 MB, free: 436 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1328, allocations: 135.5 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.1329, allocations: 174.5 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.1333, allocations: 398.5 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1333, allocations: 0 / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1334, allocations: 4 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1334, allocations: 0 / 485.6 MB, free: 15.73 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001106/0.1345, allocations: 0.7968 MB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1345, allocations: 8.031 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1346, allocations: 42.69 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.1349, allocations: 76.16 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.1354, allocations: 471.7 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1355, allocations: 12.31 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.1355, allocations: 19.92 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1358, allocations: 134.2 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1358, allocations: 0 / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1358, allocations: 4 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1358, allocations: 4 kB / 487.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.136, allocations: 75.89 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.137, allocations: 0.6838 MB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1372, allocations: 113.2 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1373, allocations: 45.83 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.1374, allocations: 11.91 kB / 488.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1374, allocations: 30.56 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1374, allocations: 0 / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001425/0.1388, allocations: 0.5214 MB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1389, allocations: 85.09 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1399, allocations: 0.922 MB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.14, allocations: 29.7 kB / 489.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1402, allocations: 268.2 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.1403, allocations: 55.27 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.1403, allocations: 29.7 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1405, allocations: 378.7 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1407, allocations: 55.95 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1408, allocations: 69.62 kB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1412, allocations: 145.7 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1412, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004576/0.1417, allocations: 228.8 kB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1417, allocations: 4 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1417, allocations: 4 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1417, allocations: 4 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1419, allocations: 35.97 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1419, allocations: 0 / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1421, allocations: 19.92 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1421, allocations: 4 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002128/0.1423, allocations: 213.7 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1424, allocations: 59.25 kB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/0.143, allocations: 271.4 kB / 491.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.143, allocations: 4 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.143, allocations: 0 / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1431, allocations: 0 / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1441, allocations: 0.7903 MB / 492.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1442, allocations: 4 kB / 492.3 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1443, allocations: 39.91 kB / 492.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1443, allocations: 7.984 kB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1444, allocations: 4 kB / 492.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1444, allocations: 7.938 kB / 492.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1444, allocations: 0 / 492.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.1449, allocations: 394 kB / 492.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1451, allocations: 160.3 kB / 492.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.1451, allocations: 4 kB / 492.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1453, allocations: 19.86 kB / 492.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.1454, allocations: 15.98 kB / 492.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1454, allocations: 4 kB / 492.9 MB, free: 8.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007805/0.1462, allocations: 0.6747 MB / 493.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1462, allocations: 0 / 493.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.1466, allocations: 52 kB / 493.6 MB, free: 7.301 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002156/0.1487, allocations: 1.227 MB / 494.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.1492, allocations: 163.7 kB / 495 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1492, allocations: 0 / 495 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1494, allocations: 75.89 kB / 495.1 MB, free: 5.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.15, allocations: 73.03 kB / 495.2 MB, free: 5.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/0.1565, allocations: 5.228 MB / 0.4887 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.1571, allocations: 0.8652 MB / 0.4895 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.1573, allocations: 79.22 kB / 0.4896 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.1576, allocations: 175.4 kB / 0.4897 GB, free: 15.43 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1576, allocations: 0 / 0.4897 GB, free: 15.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.1902, allocations: 9.725 MB / 0.4992 GB, free: 5.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.629, allocations: 10.03 kB / 0.4993 GB, free: 5.777 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1)