Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.47 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.2498/0.2498, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002086/0.002086, allocations: 86.47 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002865/0.1121, allocations: 1.687 MB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00095/0.113, allocations: 0.5766 MB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.1131, allocations: 0 / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.1133, allocations: 71.73 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1136, allocations: 103.6 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.114, allocations: 170.2 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1141, allocations: 91.75 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.656e-05/0.1142, allocations: 24.22 kB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.1143, allocations: 35.84 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.1144, allocations: 51.83 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.1144, allocations: 4 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.1145, allocations: 51.97 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.1146, allocations: 27.92 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1146, allocations: 35.73 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1148, allocations: 115.8 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1148, allocations: 4 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1148, allocations: 0 / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1148, allocations: 0 / 483.2 MB, free: 2.047 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.0005133/0.1153, allocations: 430.9 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1154, allocations: 12.03 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.1154, allocations: 30.75 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1155, allocations: 12.84 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1157, allocations: 208.8 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.1157, allocations: 384 / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1157, allocations: 4.375 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1159, allocations: 77.53 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1159, allocations: 0 / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1159, allocations: 0 / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1159, allocations: 0 / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1161, allocations: 47.95 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1165, allocations: 324.6 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1168, allocations: 58.55 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.1168, allocations: 28.97 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1169, allocations: 7.938 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1169, allocations: 34.55 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1169, allocations: 0 / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001423/0.1183, allocations: 441.1 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1184, allocations: 59.34 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1186, allocations: 195.3 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1186, allocations: 29.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.1187, allocations: 104 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1187, allocations: 39.55 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.1188, allocations: 25.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1189, allocations: 326.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.1191, allocations: 51.97 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1192, allocations: 51.95 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.1195, allocations: 129 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1195, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003472/0.1199, allocations: 177.3 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1199, allocations: 6.656 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1199, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1199, allocations: 3.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.12, allocations: 27.97 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.12, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.1201, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1201, allocations: 15.98 kB / 486.1 MB, free: 14.91 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.0001053/0.1202, allocations: 129.8 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.1203, allocations: 11.81 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.1207, allocations: 190.9 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1207, allocations: 7.938 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1207, allocations: 4 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1207, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.1214, allocations: 0.496 MB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1214, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.1215, allocations: 28.05 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1216, allocations: 3.984 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1216, allocations: 8 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.1216, allocations: 192 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1216, allocations: 7.938 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.122, allocations: 276.9 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.122, allocations: 85.02 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1221, allocations: 8.094 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.1222, allocations: 11.92 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1222, allocations: 7.984 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1222, allocations: 8 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1224, allocations: 151.9 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1224, allocations: 4 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1226, allocations: 31.91 kB / 487.6 MB, free: 13.34 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.002104/0.1247, allocations: 1.147 MB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.1251, allocations: 139.7 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1251, allocations: 0 / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1253, allocations: 71.89 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1256, allocations: 27.41 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1279, allocations: 1.899 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1282, allocations: 0.7119 MB / 491.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.1283, allocations: 36.52 kB / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.1284, allocations: 39.42 kB / 491.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1284, allocations: 0 / 491.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.2318, allocations: 3.442 MB / 495.1 MB, free: 5.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.092, allocations: 5.969 kB / 495.1 MB, free: 5.922 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1)