Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2221/0.2221, 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.00246/0.00246, allocations: 78.92 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1186, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003284/0.1219, allocations: 1.662 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1237, allocations: 1.179 MB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.1237, allocations: 0 / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1239, allocations: 27.84 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1242, allocations: 79.62 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1245, allocations: 134.1 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1247, allocations: 79.77 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.1248, allocations: 15.98 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.1248, allocations: 23.92 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.125, allocations: 46.86 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.125, allocations: 4 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1252, allocations: 103.9 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.1253, allocations: 11.98 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1253, allocations: 31.8 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1256, allocations: 155.8 kB / 483.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1256, allocations: 3.938 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1256, allocations: 0 / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1256, allocations: 0 / 483.8 MB, free: 1.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005756/0.1262, allocations: 415.2 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1263, allocations: 11.97 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.1263, allocations: 38.75 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1263, allocations: 8.844 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1266, allocations: 200.1 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1266, allocations: 4.375 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1266, allocations: 384 / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1268, allocations: 83.25 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1268, allocations: 0 / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1268, allocations: 4 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1268, allocations: 4 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.127, allocations: 31.97 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1274, allocations: 292.8 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1275, allocations: 46.5 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.1276, allocations: 24.94 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1276, allocations: 0 / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1276, allocations: 34.56 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.1277, allocations: 3.984 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007928/0.1285, allocations: 221.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1285, allocations: 77.11 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1287, allocations: 160.2 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1287, allocations: 29.7 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1288, allocations: 92.14 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.1288, allocations: 19.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.1289, allocations: 25.72 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.129, allocations: 318.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1291, allocations: 31.97 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1293, allocations: 49.69 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1295, allocations: 76.78 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1295, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002881/0.1298, allocations: 117.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1298, allocations: 6.5 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1298, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1299, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.13, allocations: 27.97 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.13, allocations: 4.062 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.1301, allocations: 19.86 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1301, allocations: 3.938 kB / 486.2 MB, free: 14.88 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 (7): * Single equations (assignments): 7 * 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 9.017e-05/0.1302, allocations: 117.8 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1302, allocations: 15.84 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.1306, allocations: 122.3 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1306, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1306, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1306, allocations: 7.922 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.1312, allocations: 402.3 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1312, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.162e-05/0.1313, allocations: 23.98 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1313, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1313, allocations: 3.938 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1313, allocations: 0 / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1313, allocations: 3.984 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.1317, allocations: 211.3 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1317, allocations: 93 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1318, allocations: 3.938 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1319, allocations: 8 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1319, allocations: 7.984 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1319, allocations: 4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.132, allocations: 117.3 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1321, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1323, allocations: 39.98 kB / 487.3 MB, free: 13.62 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 (7): * Single equations (assignments): 7 * 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.002178/0.1345, allocations: 1.13 MB / 488.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.1348, allocations: 87.92 kB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1349, allocations: 0 / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.135, allocations: 47.91 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1354, allocations: 18.98 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1374, allocations: 1.571 MB / 490.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1378, allocations: 0.7041 MB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.393e-05/0.1378, allocations: 12.97 kB / 490.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.1379, allocations: 35.41 kB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1379, allocations: 0 / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.1634, allocations: 3.426 MB / 494.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.53, allocations: 9.141 kB / 494.4 MB, free: 6.684 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1)