Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, 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.001269/0.001269, 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.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2227/0.2227, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002415/0.002415, allocations: 76.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1181, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003204/0.1214, allocations: 1.649 MB / 481.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000917/0.1223, allocations: 0.6841 MB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.1223, allocations: 3.938 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1226, allocations: 27.84 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1228, allocations: 43.83 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.1228, allocations: 0 / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1229, allocations: 27.91 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.123, allocations: 4 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.123, allocations: 11.92 kB / 482.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.1231, allocations: 19.92 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1231, allocations: 0 / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.1232, allocations: 8 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1232, allocations: 23.92 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.1233, allocations: 23.8 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1234, allocations: 71.97 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1234, allocations: 0 / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1234, allocations: 0 / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1234, allocations: 0 / 482.8 MB, free: 2.531 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004253/0.1239, allocations: 363.4 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1239, allocations: 8.031 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.046e-05/0.124, allocations: 38.73 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.124, allocations: 16.75 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1241, allocations: 168.3 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1242, allocations: 4.375 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.1242, allocations: 384 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1244, allocations: 129.4 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1244, allocations: 3.938 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1244, allocations: 8 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.1244, allocations: 23.92 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.1245, allocations: 35.92 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.1252, allocations: 0.8945 MB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.1253, allocations: 173.1 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.1253, allocations: 88.06 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1254, allocations: 75.28 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.1254, allocations: 109.9 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1254, allocations: 3.938 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.1255, allocations: 37.61 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.1256, allocations: 130.7 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1258, allocations: 186 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1258, allocations: 29.64 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.1259, allocations: 147.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.1259, allocations: 12 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.126, allocations: 37.61 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1261, allocations: 318.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.1262, allocations: 35.97 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1263, allocations: 161 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1266, allocations: 204.9 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1266, allocations: 4 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003092/0.1269, allocations: 197.6 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1269, allocations: 8 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1269, allocations: 4 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1269, allocations: 7.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1271, allocations: 39.92 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1271, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1272, allocations: 23.69 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1272, allocations: 15.98 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001403/0.1274, allocations: 221 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.743e-05/0.1274, allocations: 120.8 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.1275, allocations: 112.8 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/0.1276, allocations: 184.2 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.981e-05/0.1277, allocations: 176.3 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/0.1277, allocations: 180.3 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.128, allocations: 433.1 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-05/0.1281, allocations: 101 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.1281, allocations: 104.9 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.015e-05/0.1282, allocations: 176.3 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.1283, allocations: 184.2 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.561e-05/0.1283, allocations: 188.2 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-05/0.1284, allocations: 180.3 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.1286, allocations: 315.6 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.1287, allocations: 186 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.1288, allocations: 184.2 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.1289, allocations: 105 kB / 489.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.1289, allocations: 184.1 kB / 489.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.129, allocations: 101 kB / 489.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1291, allocations: 139.2 kB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1291, allocations: 0 / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002949/0.1294, allocations: 12 kB / 490 MB, free: 10.71 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 (0): * Single equations (assignments): 0 * 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.0009525/0.1304, allocations: 0.913 MB / 490.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1305, allocations: 76.66 kB / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1305, allocations: 384 / 491 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.1306, allocations: 4 kB / 491 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1309, allocations: 463.6 kB / 491.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1327, allocations: 1.878 MB / 493.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1331, allocations: 0.7006 MB / 494 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.1333, allocations: 49.03 kB / 494.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.1333, allocations: 23.42 kB / 494.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1333, allocations: 0 / 494.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.1575, allocations: 2.055 MB / 496.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.22, allocations: 9.625 kB / 496.2 MB, free: 4.43 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1)