Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001838/0.001838, 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.002232/0.002232, allocations: 201.2 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.529/1.529, 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.2304/0.2304, allocations: 46.12 MB / 344.4 MB, free: 11.5 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.002243/0.002243, allocations: 76.09 kB / 480.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3577, allocations: 62.45 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00321/0.361, allocations: 1.71 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3621, allocations: 0.5631 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.3622, allocations: 1.125 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.3625, allocations: 27.75 kB / 0.5329 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.3628, allocations: 80.03 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.3632, allocations: 142.1 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3634, allocations: 84.11 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3635, allocations: 24.22 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.3636, allocations: 36.64 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.3637, allocations: 48.36 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3638, allocations: 5.375 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.364, allocations: 104.7 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.3641, allocations: 29.98 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.3641, allocations: 33.98 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.3645, allocations: 165.8 kB / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3645, allocations: 0 / 0.5336 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3645, allocations: 4 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3645, allocations: 0 / 0.5336 GB, free: 11.15 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.000741/0.3653, allocations: 453.1 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3653, allocations: 13.61 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.3654, allocations: 32.12 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.3654, allocations: 10.39 kB / 0.5341 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.3657, allocations: 203.1 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3657, allocations: 5.75 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3657, allocations: 3.125 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.3661, allocations: 101.4 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3661, allocations: 0 / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3662, allocations: 1.375 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3662, allocations: 0 / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.3665, allocations: 70.42 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.3671, allocations: 316.2 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.3674, allocations: 64.78 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3676, allocations: 52.31 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3676, allocations: 3.984 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3676, allocations: 35.88 kB / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3677, allocations: 0 / 0.5349 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001729/0.3694, allocations: 390.6 kB / 0.5353 GB, free: 9.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3695, allocations: 78.52 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3697, allocations: 173 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.3697, allocations: 25.7 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.3698, allocations: 96.77 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.3698, allocations: 39.06 kB / 0.5357 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3699, allocations: 25.59 kB / 0.5357 GB, free: 9.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3701, allocations: 321.1 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.3704, allocations: 74.55 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.3707, allocations: 95.81 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005745/0.3713, allocations: 141.6 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3713, allocations: 4.031 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006839/0.372, allocations: 189.3 kB / 0.5365 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3721, allocations: 5.188 kB / 0.5365 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3721, allocations: 0 / 0.5365 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3721, allocations: 5.469 kB / 0.5365 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3723, allocations: 37.95 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3724, allocations: 3.938 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3725, allocations: 30.23 kB / 0.5366 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3725, allocations: 2.188 kB / 0.5366 GB, free: 8.605 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 (10): * Single equations (assignments): 10 * 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.000123/0.3727, allocations: 119.7 kB / 0.5367 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.3727, allocations: 16.22 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/0.3735, allocations: 203.6 kB / 0.5369 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3735, allocations: 1.312 kB / 0.5369 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3735, allocations: 7.938 kB / 0.5369 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3735, allocations: 96 / 0.5369 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.3745, allocations: 498.9 kB / 0.5374 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3746, allocations: 5.094 kB / 0.5374 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3747, allocations: 35.47 kB / 0.5374 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3748, allocations: 1 kB / 0.5374 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3748, allocations: 1.062 kB / 0.5374 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3748, allocations: 1.031 kB / 0.5374 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3748, allocations: 3.984 kB / 0.5374 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.3755, allocations: 293.8 kB / 0.5377 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.3756, allocations: 92.17 kB / 0.5378 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3756, allocations: 4.875 kB / 0.5378 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3758, allocations: 25.62 kB / 0.5378 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.3759, allocations: 13.36 kB / 0.5378 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.3759, allocations: 1.25 kB / 0.5378 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3761, allocations: 126.9 kB / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3761, allocations: 0 / 0.5379 GB, free: 7.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.3764, allocations: 52.55 kB / 0.538 GB, free: 7.434 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 (9): * Single equations (assignments): 9 * 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.002754/0.3792, allocations: 1.218 MB / 0.5392 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007032/0.3799, allocations: 160.8 kB / 0.5393 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3799, allocations: 1.031 kB / 0.5393 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.3803, allocations: 86.66 kB / 0.5394 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3807, allocations: 23.69 kB / 0.5394 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.384, allocations: 1.85 MB / 0.5412 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.3845, allocations: 0.6996 MB / 0.5419 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.3846, allocations: 10.25 kB / 0.5419 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3847, allocations: 47.22 kB / 0.542 GB, free: 4.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.595e-06/0.3847, allocations: 1.375 kB / 0.542 GB, free: 4.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.4133, allocations: 4.283 MB / 0.5462 GB, free: 1.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.619, allocations: 13.08 kB / 0.5462 GB, free: 1.602 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1)