Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001254/0.001254, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2468/0.2468, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002271/0.002271, allocations: 83.88 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1129, allocations: 62.46 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004229/0.1172, allocations: 2.032 MB / 482.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1191, allocations: 1.017 MB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1193, allocations: 4 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.1199, allocations: 259.1 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.1206, allocations: 263.1 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1217, allocations: 491.7 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.1222, allocations: 323.2 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1224, allocations: 61 kB / 484.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.1227, allocations: 139.4 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.123, allocations: 211.2 kB / 485 MB, free: 352 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.123, allocations: 12 kB / 485 MB, free: 340 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1232, allocations: 67.98 kB / 485.1 MB, free: 272 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1233, allocations: 95.59 kB / 485.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1235, allocations: 127 kB / 485.3 MB, free: 48 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.124, allocations: 338.7 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.124, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.124, allocations: 0 / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.124, allocations: 0 / 485.6 MB, free: 15.71 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.0008979/0.1249, allocations: 0.6767 MB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1249, allocations: 8.031 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.125, allocations: 42.73 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.1251, allocations: 44.38 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1255, allocations: 334 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1256, allocations: 8.375 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.1256, allocations: 12.38 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.1258, allocations: 105.6 kB / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1259, allocations: 0 / 486.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1259, allocations: 11.94 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1259, allocations: 4 kB / 486.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.1261, allocations: 71.89 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.1269, allocations: 0.5041 MB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1271, allocations: 98.48 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.1272, allocations: 36.83 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.1272, allocations: 7.984 kB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1273, allocations: 34.5 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.1273, allocations: 0 / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001027/0.1283, allocations: 402.4 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1284, allocations: 59.41 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.1291, allocations: 0.58 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.1291, allocations: 29.7 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1293, allocations: 216.3 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.1294, allocations: 63.09 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.1295, allocations: 33.7 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1296, allocations: 358.8 kB / 489.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1298, allocations: 47.97 kB / 489.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1299, allocations: 51.97 kB / 489.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1302, allocations: 120.8 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1302, allocations: 0 / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003956/0.1306, allocations: 203.3 kB / 489.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1306, allocations: 8 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1306, allocations: 0 / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1306, allocations: 0 / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1308, allocations: 35.98 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1308, allocations: 0 / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.1309, allocations: 11.98 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1309, allocations: 4 kB / 489.8 MB, free: 11.31 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.0001824/0.1311, allocations: 181.6 kB / 490 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.1312, allocations: 47.42 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.1317, allocations: 237.7 kB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1317, allocations: 4 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1317, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1317, allocations: 0 / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.1326, allocations: 0.6486 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1326, allocations: 0 / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1328, allocations: 39.91 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1328, allocations: 0 / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1328, allocations: 4 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1328, allocations: 7.938 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1328, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.1332, allocations: 298.8 kB / 491.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1334, allocations: 124.5 kB / 491.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1334, allocations: 4 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1335, allocations: 11.94 kB / 491.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1336, allocations: 11.92 kB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1336, allocations: 8 kB / 491.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005144/0.1341, allocations: 451.1 kB / 491.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1341, allocations: 0 / 491.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000327/0.1345, allocations: 51.98 kB / 491.9 MB, free: 9.098 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.003529/0.138, allocations: 1.422 MB / 493.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1384, allocations: 139.8 kB / 493.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1384, allocations: 0 / 493.4 MB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1386, allocations: 73.78 kB / 493.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.1391, allocations: 84.47 kB / 493.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.1435, allocations: 3.192 MB / 496.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.144, allocations: 0.822 MB / 497.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.1441, allocations: 50.23 kB / 497.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.1443, allocations: 135.4 kB / 497.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1443, allocations: 0 / 497.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.1767, allocations: 7.495 MB / 0.4934 GB, free: 11.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.427, allocations: 5.016 kB / 0.4934 GB, free: 11.93 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1)