Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001906, allocations: 199.9 kB / 18.73 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.459/1.459, allocations: 227.4 MB / 247 MB, free: 10.48 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.2504/0.2504, 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.002286/0.002286, allocations: 83.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.382, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003328/0.3853, allocations: 1.66 MB / 0.5322 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3872, allocations: 1.174 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.3873, allocations: 0 / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.3875, allocations: 19.73 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.3879, allocations: 90.27 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3882, allocations: 133.6 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3884, allocations: 72.66 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3885, allocations: 16.23 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.3886, allocations: 38.78 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3887, allocations: 34.84 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3887, allocations: 5.5 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.389, allocations: 104.1 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.389, allocations: 17.42 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.3891, allocations: 25.36 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.3894, allocations: 156.8 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3894, allocations: 1.375 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3894, allocations: 0 / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3894, allocations: 0 / 0.5341 GB, free: 10.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006025/0.39, allocations: 426.2 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3901, allocations: 9.625 kB / 0.5345 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.3901, allocations: 32.12 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3902, allocations: 9.016 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.3904, allocations: 197.9 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3904, allocations: 5.75 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3905, allocations: 7.078 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.3907, allocations: 77.2 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3907, allocations: 0 / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3907, allocations: 5.312 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3907, allocations: 3.984 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3909, allocations: 37.06 kB / 0.5349 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.3913, allocations: 296.3 kB / 0.5351 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3915, allocations: 43.25 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.3916, allocations: 32.27 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3916, allocations: 1.031 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3917, allocations: 36.31 kB / 0.5352 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3917, allocations: 0 / 0.5352 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008604/0.3925, allocations: 210.8 kB / 0.5354 GB, free: 9.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.3926, allocations: 83.27 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3928, allocations: 158.2 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3929, allocations: 26.77 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3929, allocations: 95.45 kB / 0.5358 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.393, allocations: 35.08 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.3931, allocations: 19 kB / 0.5358 GB, free: 8.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3932, allocations: 326.2 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3934, allocations: 33.97 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3935, allocations: 50.5 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3938, allocations: 73.39 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3938, allocations: 0 / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003304/0.3941, allocations: 118.8 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3941, allocations: 5.188 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3941, allocations: 3.938 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3942, allocations: 1.125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3943, allocations: 18.17 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3943, allocations: 1.375 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.3944, allocations: 14.61 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3944, allocations: 5.156 kB / 0.5365 GB, free: 8.441 MB / 398.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 0.0001182/0.3945, allocations: 118.9 kB / 0.5366 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3946, allocations: 8.859 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.395, allocations: 131.7 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.395, allocations: 1.375 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.395, allocations: 0 / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.395, allocations: 11.94 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.3956, allocations: 388.9 kB / 0.5371 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3956, allocations: 0 / 0.5371 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.3957, allocations: 23.75 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3957, allocations: 0 / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3958, allocations: 5.469 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3958, allocations: 0 / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3958, allocations: 5.531 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3962, allocations: 205.3 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.3963, allocations: 92.23 kB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3963, allocations: 5.156 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3964, allocations: 14.45 kB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.3965, allocations: 10.12 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3965, allocations: 2 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3966, allocations: 124 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3966, allocations: 0 / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3969, allocations: 43.14 kB / 0.5376 GB, free: 7.418 MB / 398.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.002397/0.3993, allocations: 1.128 MB / 0.5387 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002986/0.3996, allocations: 78.44 kB / 0.5388 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3996, allocations: 4.875 kB / 0.5388 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3998, allocations: 45.16 kB / 0.5388 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.4001, allocations: 28.02 kB / 0.5389 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.4024, allocations: 1.59 MB / 0.5404 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4028, allocations: 0.7034 MB / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.266e-05/0.4029, allocations: 9.578 kB / 0.5411 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.403, allocations: 32.06 kB / 0.5411 GB, free: 4.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.403, allocations: 0 / 0.5411 GB, free: 4.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.4304, allocations: 3.51 MB / 0.5446 GB, free: 2.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.575, allocations: 14.7 kB / 0.5446 GB, free: 2.359 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1)