Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.4 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.2235/0.2235, 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.002276/0.002276, allocations: 80.16 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4009, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004304/0.4053, allocations: 1.655 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.4064, allocations: 0.5831 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.4065, allocations: 0 / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.4071, allocations: 451.9 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004847/0.4077, allocations: 292.2 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.4081, allocations: 178.7 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.4084, allocations: 172.4 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.4086, allocations: 21.67 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4087, allocations: 111.7 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.4089, allocations: 214.6 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.409, allocations: 2.75 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.4091, allocations: 33.98 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.4092, allocations: 83.22 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.4093, allocations: 107.2 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.4097, allocations: 272.7 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4097, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4097, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4097, allocations: 0 / 0.5347 GB, free: 10.66 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.0008798/0.4106, allocations: 0.6642 MB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4107, allocations: 9.844 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.4107, allocations: 35.91 kB / 0.5354 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.4108, allocations: 43.88 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4111, allocations: 304.1 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4112, allocations: 9.438 kB / 0.5357 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4112, allocations: 2.719 kB / 0.5357 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.4114, allocations: 59.3 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4114, allocations: 0.75 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-06/0.4114, allocations: 1.031 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4114, allocations: 1.094 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.4115, allocations: 28.8 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.4121, allocations: 413 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.4123, allocations: 46 kB / 0.5362 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.4124, allocations: 19.91 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4124, allocations: 9.016 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4125, allocations: 31.78 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4125, allocations: 4 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006908/0.4132, allocations: 241.1 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4132, allocations: 56.41 kB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.4142, allocations: 0.8747 MB / 0.5374 GB, free: 8.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4142, allocations: 29.7 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.4144, allocations: 230.2 kB / 0.5377 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.4145, allocations: 18.02 kB / 0.5377 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.4145, allocations: 17.97 kB / 0.5377 GB, free: 8.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4147, allocations: 364.2 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.4148, allocations: 20.77 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.4149, allocations: 24.02 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.415, allocations: 56.34 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4151, allocations: 4 kB / 0.5381 GB, free: 7.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002405/0.4153, allocations: 123.5 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4153, allocations: 5.031 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.4153, allocations: 0 / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4154, allocations: 1.125 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.4154, allocations: 13.45 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.4155, allocations: 1 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.4155, allocations: 14.92 kB / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.4155, allocations: 1.656 kB / 0.5383 GB, free: 7.715 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 (5): * Single equations (assignments): 5 * 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.000209/0.4158, allocations: 215.3 kB / 0.5385 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.4158, allocations: 46.92 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.4162, allocations: 143.3 kB / 0.5387 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4162, allocations: 3.984 kB / 0.5387 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4162, allocations: 1.594 kB / 0.5387 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4162, allocations: 3.938 kB / 0.5387 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.4169, allocations: 472.1 kB / 0.5391 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4169, allocations: 1.219 kB / 0.5392 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.4169, allocations: 13.61 kB / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4169, allocations: 0 / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.417, allocations: 9.25 kB / 0.5392 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.417, allocations: 0 / 0.5392 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.417, allocations: 1.469 kB / 0.5392 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.4173, allocations: 225.6 kB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4174, allocations: 115.5 kB / 0.5395 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.4175, allocations: 11.98 kB / 0.5395 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.4176, allocations: 8.188 kB / 0.5395 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.4176, allocations: 2.5 kB / 0.5395 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4176, allocations: 1.344 kB / 0.5395 GB, free: 6.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000822/0.4184, allocations: 0.6638 MB / 0.5402 GB, free: 6.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4185, allocations: 4 kB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.4187, allocations: 34.72 kB / 0.5402 GB, free: 6.348 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 (5): * Single equations (assignments): 5 * 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.002119/0.4209, allocations: 1.039 MB / 0.5412 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.4211, allocations: 63.14 kB / 0.5413 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4211, allocations: 0 / 0.5413 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.4212, allocations: 29.45 kB / 0.5413 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.4217, allocations: 26.89 kB / 0.5413 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.426, allocations: 3.278 MB / 0.5445 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.4267, allocations: 0.8299 MB / 0.5453 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.4268, allocations: 16.66 kB / 0.5454 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.4269, allocations: 115.4 kB / 0.5455 GB, free: 2.172 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.427, allocations: 0 / 0.5455 GB, free: 2.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.456, allocations: 6.132 MB / 0.5515 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/9.143, allocations: 16.62 kB / 0.5515 GB, free: 12.12 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1)