Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, 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.001882/0.001882, 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.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2243/0.2243, allocations: 46.12 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.002237/0.002237, allocations: 82.58 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1187, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003274/0.1221, allocations: 1.674 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1231, allocations: 0.5571 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.1232, allocations: 4 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.1235, allocations: 67.7 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.1238, allocations: 103.6 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1242, allocations: 138.8 kB / 482.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1244, allocations: 79.81 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1245, allocations: 28.22 kB / 482.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.1246, allocations: 39.83 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1247, allocations: 59.77 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1247, allocations: 7.984 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1248, allocations: 43.98 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.1249, allocations: 23.92 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.125, allocations: 43.67 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1252, allocations: 115.9 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.1252, allocations: 7.984 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1252, allocations: 0 / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1252, allocations: 0 / 483.2 MB, free: 2.145 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.0005961/0.1258, allocations: 434.9 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1259, allocations: 8.031 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.1259, allocations: 38.69 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.126, allocations: 16.75 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1262, allocations: 204.1 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1262, allocations: 4.375 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1262, allocations: 384 / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1264, allocations: 73.55 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1264, allocations: 4 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1264, allocations: 0 / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1265, allocations: 3.938 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1266, allocations: 39.95 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.127, allocations: 312.7 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1273, allocations: 66.58 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.1274, allocations: 24.97 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1274, allocations: 3.984 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1274, allocations: 34.56 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1275, allocations: 0 / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001453/0.1289, allocations: 400.7 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.129, allocations: 51.41 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1292, allocations: 222.3 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1292, allocations: 25.7 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.1293, allocations: 119.9 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1294, allocations: 39.45 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.1294, allocations: 25.72 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1295, allocations: 326.8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1297, allocations: 40.53 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1298, allocations: 43.95 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.1301, allocations: 96.81 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1301, allocations: 4 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003161/0.1304, allocations: 141.5 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1304, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1304, allocations: 3.984 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1305, allocations: 7.875 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1306, allocations: 35.98 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1306, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.1307, allocations: 7.984 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1307, allocations: 4 kB / 486 MB, free: 15.1 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 (11): * Single equations (assignments): 11 * 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.0001132/0.1308, allocations: 129.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1309, allocations: 11.81 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.1313, allocations: 171 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1313, allocations: 3.938 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.1313, allocations: 3.938 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1313, allocations: 3.938 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.132, allocations: 487.9 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.132, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1322, allocations: 27.97 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1322, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.1322, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1322, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1322, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1326, allocations: 257 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.1327, allocations: 85.02 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1327, allocations: 11.98 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.1328, allocations: 8 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1329, allocations: 11.98 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1329, allocations: 11.94 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.133, allocations: 168.8 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.133, allocations: 0 / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1333, allocations: 24 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002267/0.1356, allocations: 1.145 MB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1359, allocations: 107.9 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1359, allocations: 0 / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1361, allocations: 59.91 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1365, allocations: 26.17 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.1389, allocations: 1.871 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1392, allocations: 0.7197 MB / 491.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.594e-05/0.1393, allocations: 12.55 kB / 491.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.1394, allocations: 39.42 kB / 491.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1394, allocations: 4.188 kB / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.1641, allocations: 3.411 MB / 494.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.577, allocations: 12.95 kB / 494.8 MB, free: 6.281 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1)