Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 210.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2255/0.2255, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002201/0.002202, allocations: 77.02 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1096, allocations: 62.46 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003791/0.1134, allocations: 1.677 MB / 481.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1146, allocations: 0.561 MB / 482.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.1146, allocations: 4 kB / 482.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.1152, allocations: 451.1 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.1156, allocations: 291.3 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.116, allocations: 139.1 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1162, allocations: 171.6 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.1163, allocations: 12 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1164, allocations: 115.7 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1167, allocations: 215.6 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1167, allocations: 4 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1168, allocations: 51.92 kB / 483.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1169, allocations: 87.67 kB / 484 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.117, allocations: 103 kB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.1174, allocations: 279.1 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1174, allocations: 0 / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1174, allocations: 0 / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1174, allocations: 4 kB / 484.3 MB, free: 1.016 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008234/0.1183, allocations: 0.6492 MB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1183, allocations: 12.03 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1184, allocations: 34.75 kB / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1184, allocations: 44.38 kB / 485.1 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.1188, allocations: 308.1 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-06/0.1188, allocations: 384 / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1188, allocations: 4.375 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1189, allocations: 73.55 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.119, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.119, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.119, allocations: 0 / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.1191, allocations: 27.92 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.1196, allocations: 404.6 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.1197, allocations: 54.58 kB / 485.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.1198, allocations: 16.86 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1198, allocations: 4.078 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1198, allocations: 34.56 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1198, allocations: 0 / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009316/0.1208, allocations: 311.7 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1208, allocations: 55.34 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.1217, allocations: 0.8738 MB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1218, allocations: 25.7 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1219, allocations: 224.1 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.122, allocations: 27.56 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.122, allocations: 29.7 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1222, allocations: 358.8 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1223, allocations: 23.98 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.1224, allocations: 31.91 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1225, allocations: 56.84 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1226, allocations: 0 / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002577/0.1228, allocations: 137.1 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1228, allocations: 4 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1229, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1229, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.123, allocations: 27.92 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.123, allocations: 3.938 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.1231, allocations: 7.984 kB / 488.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1231, allocations: 0 / 488.2 MB, free: 12.96 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 (8): * Single equations (assignments): 8 * 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.0001942/0.1233, allocations: 217.8 kB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.1234, allocations: 39.44 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.1237, allocations: 165.8 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1237, allocations: 7.938 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1237, allocations: 4 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1237, allocations: 0 / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.1244, allocations: 0.507 MB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1244, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.1245, allocations: 23.92 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1245, allocations: 7.875 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1245, allocations: 0 / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1245, allocations: 0 / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1245, allocations: 4.031 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1248, allocations: 239.8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.1249, allocations: 112.5 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.125, allocations: 4 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.1251, allocations: 7.984 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.1251, allocations: 11.94 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1251, allocations: 4 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006696/0.1258, allocations: 0.6589 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1258, allocations: 0 / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1261, allocations: 31.98 kB / 490.2 MB, free: 10.81 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 (8): * Single equations (assignments): 8 * 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.002113/0.1282, allocations: 1.11 MB / 491.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1285, allocations: 71.89 kB / 491.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1285, allocations: 3.938 kB / 491.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.1286, allocations: 43.91 kB / 491.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.129, allocations: 24.55 kB / 491.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.1329, allocations: 3.363 MB / 494.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1334, allocations: 0.826 MB / 495.6 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.1335, allocations: 16.42 kB / 495.6 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1336, allocations: 111.4 kB / 495.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1336, allocations: 0 / 495.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.1634, allocations: 6.238 MB / 0.4902 GB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.372, allocations: 9.078 kB / 0.4902 GB, free: 15.08 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1)