Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, 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.001463/0.001463, 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.542/1.542, 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.2687/0.2687, 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.002224/0.002225, allocations: 88.36 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1251, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003432/0.1285, allocations: 1.622 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1296, allocations: 0.5338 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.1297, allocations: 0 / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.1303, allocations: 455.1 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.1308, allocations: 287.3 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.1311, allocations: 126.4 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.1314, allocations: 163.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1315, allocations: 12.17 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1316, allocations: 111.7 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1318, allocations: 203.6 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.1319, allocations: 4 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.132, allocations: 35.92 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1321, allocations: 75.7 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.805e-05/0.1322, allocations: 103 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1325, allocations: 247 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1325, allocations: 0 / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1325, allocations: 3.938 kB / 484.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1325, allocations: 0 / 484.2 MB, free: 1.168 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.0007438/0.1333, allocations: 0.6338 MB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1333, allocations: 12.03 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1334, allocations: 30.75 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.1334, allocations: 44.38 kB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.1338, allocations: 304.1 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1338, allocations: 384 / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1338, allocations: 8.125 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.134, allocations: 45.69 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.134, allocations: 3.984 kB / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.134, allocations: 0 / 485.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.134, allocations: 4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.1341, allocations: 19.98 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1346, allocations: 380.8 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.1347, allocations: 26.58 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1347, allocations: 16.91 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1348, allocations: 3.938 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1348, allocations: 42.56 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1348, allocations: 0 / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002715/0.1351, allocations: 101 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1351, allocations: 51.41 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/0.136, allocations: 0.8738 MB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.136, allocations: 25.7 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1362, allocations: 224 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.1363, allocations: 12.02 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1363, allocations: 17.72 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1365, allocations: 358.7 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.1365, allocations: 15.98 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.1366, allocations: 4 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.1367, allocations: 24.84 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1367, allocations: 0 / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001536/0.1368, allocations: 97.12 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1369, allocations: 7.984 kB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1369, allocations: 0 / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1369, allocations: 4 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.137, allocations: 4 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.137, allocations: 0 / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.137, allocations: 0 / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.137, allocations: 7.938 kB / 487.5 MB, free: 13.56 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.0001929/0.1372, allocations: 209.8 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.1373, allocations: 43.44 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.1375, allocations: 112.6 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1375, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1376, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1376, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.1379, allocations: 293.5 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1379, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.1379, allocations: 12.02 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1379, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1379, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1379, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1379, allocations: 0 / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1382, allocations: 198.8 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.1382, allocations: 108.6 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1383, allocations: 0 / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.1384, allocations: 12.02 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.1384, allocations: 0 / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1384, allocations: 3.938 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006796/0.1391, allocations: 0.6628 MB / 489.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1391, allocations: 0 / 489.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1393, 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.001681/0.141, allocations: 0.9639 MB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.1412, allocations: 31.92 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1412, allocations: 3.938 kB / 490.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.1413, allocations: 11.98 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.000406/0.1417, allocations: 24.36 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.003768/0.1455, allocations: 3.174 MB / 493.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.146, allocations: 0.8221 MB / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.1461, allocations: 12.05 kB / 494.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1462, allocations: 107.4 kB / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1462, allocations: 0 / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.1764, allocations: 5.626 MB / 499.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.272, allocations: 5.078 kB / 499.9 MB, free: 1.074 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1)