Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, 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.2266/0.2266, allocations: 46.11 MB / 344.4 MB, free: 11.47 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.002279/0.002279, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3714, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003305/0.3747, allocations: 1.659 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3758, allocations: 0.5739 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.3759, allocations: 1.281 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.3765, allocations: 456.5 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.3771, allocations: 288.5 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.3776, allocations: 181.1 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.3779, allocations: 177.2 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.378, allocations: 21.55 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3781, allocations: 106.9 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.3784, allocations: 218.7 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3784, allocations: 3.188 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3785, allocations: 41.88 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3787, allocations: 82.66 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3788, allocations: 99.66 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.3792, allocations: 268.3 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3792, allocations: 4 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3792, allocations: 0 / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3792, allocations: 0 / 0.5347 GB, free: 10.68 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.0009116/0.3801, allocations: 0.6719 MB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3802, allocations: 9.344 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.3802, allocations: 32 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.164e-05/0.3803, allocations: 43.31 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3806, allocations: 304.8 kB / 0.5357 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3807, allocations: 6.562 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3807, allocations: 2.562 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3809, allocations: 59.58 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3809, allocations: 3.938 kB / 0.5358 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3809, allocations: 5.25 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3809, allocations: 1.312 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.381, allocations: 24.55 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.3816, allocations: 409.1 kB / 0.5362 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.3818, allocations: 45.56 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.3819, allocations: 25.31 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3819, allocations: 0 / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3819, allocations: 30.56 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.835e-06/0.3819, allocations: 0.875 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006516/0.3826, allocations: 245.9 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.3827, allocations: 52.75 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/0.3836, allocations: 0.8814 MB / 0.5374 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3837, allocations: 26.61 kB / 0.5375 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.3839, allocations: 229.7 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3839, allocations: 17.89 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.384, allocations: 22.86 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3841, allocations: 356.1 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.3842, allocations: 20.55 kB / 0.5381 GB, free: 7.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.3843, allocations: 31.75 kB / 0.5381 GB, free: 7.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3845, allocations: 52.77 kB / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3845, allocations: 0 / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002336/0.3847, allocations: 123.9 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3847, allocations: 8.188 kB / 0.5383 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3847, allocations: 3.984 kB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3848, allocations: 1.531 kB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.3848, allocations: 21.95 kB / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3849, allocations: 0 / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.3849, allocations: 12.2 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3849, allocations: 1.25 kB / 0.5383 GB, free: 7.727 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.0001929/0.3851, allocations: 214.5 kB / 0.5385 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.3852, allocations: 46.48 kB / 0.5386 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.3855, allocations: 147.4 kB / 0.5387 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3855, allocations: 0 / 0.5387 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3856, allocations: 0.9688 kB / 0.5387 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3856, allocations: 3.938 kB / 0.5387 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.3862, allocations: 465.5 kB / 0.5392 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3862, allocations: 4.875 kB / 0.5392 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3863, allocations: 13.3 kB / 0.5392 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3863, allocations: 1.062 kB / 0.5392 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3863, allocations: 7.938 kB / 0.5392 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3863, allocations: 1.125 kB / 0.5392 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3863, allocations: 0 / 0.5392 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3866, allocations: 223 kB / 0.5394 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.787e-05/0.3867, allocations: 114.2 kB / 0.5395 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3867, allocations: 9.156 kB / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.3868, allocations: 7.281 kB / 0.5395 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.3869, allocations: 14.61 kB / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3869, allocations: 1.312 kB / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007041/0.3876, allocations: 0.6571 MB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.746e-06/0.3876, allocations: 0 / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3879, allocations: 33.94 kB / 0.5402 GB, free: 6.371 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.002029/0.3899, allocations: 1.046 MB / 0.5412 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3901, allocations: 55.03 kB / 0.5413 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3902, allocations: 0 / 0.5413 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.3903, allocations: 29.75 kB / 0.5413 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3907, allocations: 25.19 kB / 0.5413 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.3949, allocations: 3.288 MB / 0.5445 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3955, allocations: 0.826 MB / 0.5454 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.916e-05/0.3956, allocations: 20.58 kB / 0.5454 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.3958, allocations: 115.4 kB / 0.5455 GB, free: 2.176 MB / 398.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3958, allocations: 4 kB / 0.5455 GB, free: 2.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.4271, allocations: 6.127 MB / 0.5515 GB, free: 12.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.064, allocations: 5.906 kB / 0.5515 GB, free: 12.13 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1)