Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001286, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001305, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247 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.2284/0.2284, allocations: 46.12 MB / 344.3 MB, free: 11.45 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.00245/0.00245, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3962, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004967/0.4013, allocations: 2.097 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.4041, allocations: 1.291 MB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.4044, allocations: 3.781 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.4049, allocations: 55.3 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008476/0.4058, allocations: 211.3 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.4072, allocations: 464.8 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.4079, allocations: 320.5 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.4082, allocations: 60.2 kB / 0.535 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.4087, allocations: 150.5 kB / 0.5351 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.4091, allocations: 203.1 kB / 0.5353 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.4092, allocations: 14.81 kB / 0.5353 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.4094, allocations: 66.11 kB / 0.5354 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.4097, allocations: 140 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.4099, allocations: 189.4 kB / 0.5357 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007081/0.4106, allocations: 427.8 kB / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4106, allocations: 0 / 0.5361 GB, free: 9.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4106, allocations: 4 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4107, allocations: 1.375 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001341/0.412, allocations: 0.8504 MB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4121, allocations: 8.938 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.4121, allocations: 45.48 kB / 0.537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.4126, allocations: 98.06 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/0.4136, allocations: 498.2 kB / 0.5376 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.4136, allocations: 8.812 kB / 0.5376 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.4137, allocations: 14.62 kB / 0.5376 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.4141, allocations: 143.8 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4141, allocations: 1.156 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4142, allocations: 9.031 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4142, allocations: 3.344 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.4146, allocations: 99.8 kB / 0.5379 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4159, allocations: 0.692 MB / 0.5385 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.4163, allocations: 126.8 kB / 0.5387 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.4165, allocations: 62.42 kB / 0.5387 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.4165, allocations: 6.125 kB / 0.5387 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.4166, allocations: 47.59 kB / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.4166, allocations: 0 / 0.5388 GB, free: 7.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002265/0.4188, allocations: 0.7017 MB / 0.5394 GB, free: 6.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.4189, allocations: 79.7 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.4204, allocations: 0.9176 MB / 0.5404 GB, free: 6.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.4204, allocations: 34.75 kB / 0.5405 GB, free: 6.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.4207, allocations: 274 kB / 0.5407 GB, free: 5.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.042e-05/0.4208, allocations: 80.05 kB / 0.5408 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.4209, allocations: 38.11 kB / 0.5408 GB, free: 5.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4211, allocations: 320 kB / 0.5411 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.4214, allocations: 85.78 kB / 0.5412 GB, free: 5.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.4217, allocations: 118.1 kB / 0.5413 GB, free: 5.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.4224, allocations: 205.8 kB / 0.5415 GB, free: 5.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4224, allocations: 0 / 0.5415 GB, free: 5.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008292/0.4232, allocations: 309.3 kB / 0.5418 GB, free: 5.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4232, allocations: 5.719 kB / 0.5418 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4233, allocations: 1.062 kB / 0.5418 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4233, allocations: 1.219 kB / 0.5418 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.4236, allocations: 62.33 kB / 0.5419 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4236, allocations: 1.188 kB / 0.5419 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.4239, allocations: 21.53 kB / 0.5419 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.4239, allocations: 9 kB / 0.5419 GB, free: 5.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0003089/0.4242, allocations: 217.1 kB / 0.5421 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4243, allocations: 62.48 kB / 0.5422 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/0.4253, allocations: 356 kB / 0.5425 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4254, allocations: 2.688 kB / 0.5425 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.4254, allocations: 4.875 kB / 0.5425 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4254, allocations: 5.391 kB / 0.5425 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.4271, allocations: 0.9079 MB / 0.5434 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4271, allocations: 5.094 kB / 0.5434 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.4273, allocations: 54.11 kB / 0.5435 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4273, allocations: 1.344 kB / 0.5435 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.4274, allocations: 10.34 kB / 0.5435 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.4274, allocations: 9.297 kB / 0.5435 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4274, allocations: 1.125 kB / 0.5435 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008863/0.4283, allocations: 482.3 kB / 0.544 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.4285, allocations: 154.9 kB / 0.5441 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.4285, allocations: 5.125 kB / 0.5441 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.4289, allocations: 24.75 kB / 0.5441 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.429, allocations: 16.39 kB / 0.5441 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.429, allocations: 14.42 kB / 0.5442 GB, free: 3.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009315/0.43, allocations: 0.6746 MB / 0.5448 GB, free: 2.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.43, allocations: 4 kB / 0.5448 GB, free: 2.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004062/0.4304, allocations: 63.94 kB / 0.5449 GB, free: 2.723 MB / 398.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 (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 Backend phase and start with SimCode phase: time 0.002578/0.433, allocations: 1.304 MB / 0.5462 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4337, allocations: 237.7 kB / 0.5464 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4337, allocations: 0 / 0.5464 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.434, allocations: 123.8 kB / 0.5465 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.4347, allocations: 79.86 kB / 0.5466 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/0.4425, allocations: 5.314 MB / 0.5518 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.4432, allocations: 0.8733 MB / 0.5526 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.4435, allocations: 87.2 kB / 0.5527 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.4438, allocations: 187.4 kB / 0.5529 GB, free: 10.52 MB / 414.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4438, allocations: 0 / 0.5529 GB, free: 10.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.48, allocations: 10.46 MB / 0.5631 GB, free: 172 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.067/9.547, allocations: 5.969 kB / 0.5631 GB, free: 168 kB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1)